pub async fn set_password(
old_password: String,
new_password: String,
new_hint: String,
set_recovery_email_address: bool,
new_recovery_email_address: String,
client_id: i32,
) -> Result<PasswordState, Error>Expand description
Changes the 2-step verification password for the current user. If a new recovery email address is specified, then the change will not be applied until the new recovery email address is confirmed
ยงArguments
old_password- Previous 2-step verification password of the usernew_password- New 2-step verification password of the user; may be empty to remove the passwordnew_hint- New password hint; may be emptyset_recovery_email_address- Pass true to change also the recovery email addressnew_recovery_email_address- New recovery email address; may be emptyclient_id- The client id to send the request to