pub async fn change_password(
user_id: Uuid,
current: &str,
new: &str,
) -> Result<(), CmdError>Expand description
Replaces the password and revokes every outstanding session, in one statement.
ยงErrors
CmdError::Args when the current password does not verify; otherwise only
on infrastructure failure.