auth.checkPassword

Try logging to an account protected by a 2FA password.

auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;
auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization;
---functions---
auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization;

Parameters

Name Type Description
password InputCheckPasswordSRP The account's password (see SRP)

Result

auth.Authorization

Possible errors

Code Type Description
400 PASSWORD_HASH_INVALID The provided password isn't valid.
400 SRP_ID_INVALID Invalid SRP ID provided.
400 SRP_PASSWORD_CHANGED Password has changed.

Related pages

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.