account.cancelPasswordEmail #

Cancel the code that was sent to verify an email to use as 2FA recovery method.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.cancelPasswordEmail#c1cbd5b6 = Bool;

Parameters #

This constructor does not require any parameters.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400EMAIL_HASH_EXPIREDEmail hash expired.

Two-factor authentication #

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