Function ccash_rs::methods::change_password [−][src]
pub async fn change_password(
session: &CCashSession,
user: &mut CCashUser,
new_password: &str
) -> Result<bool, CCashError>
Expand description
Returns true
about if a password change was successful for the given
user
. This function modifies user
to use the new_password
instead of the previous password in the case of a successful password
change.