Request recovery code of a 2FA password, only for accounts with a recovery email configured.
auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;
---functions---
auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
This constructor does not require any parameters.
Code | Type | Description |
---|---|---|
400 | PASSWORD_EMPTY | The provided password is empty |
How to login to a user's account if they have enabled 2FA, how to change password.