recover_password()¶
-
Client.recover_password()¶ Recover your password with a recovery code and log in.
- Parameters
recovery_code (
str) – The recovery code sent via email.- Returns
User– On success, the authorized user is returned and the Two-Step Verification password reset.- Raises
BadRequest – In case the recovery code is invalid.