dboo::odb::change_user_password

void change_user_pwd ( const password& old_pwd, const password& new_pwd );
change_user_pwd ( old_pwd,  new_pwd)

Change current logged in user’s password.

Parameters

old_pwd

Old password of currently logged in user.

new_pwd

New password for the currently logged in user.

Return value

(none)

Exceptions

exception_serverauth_failed

The given current password does not match the user’s password.

Example