diff --git a/src/api/gramjs/methods/auth.ts b/src/api/gramjs/methods/auth.ts index 176fdc033..a3f791001 100644 --- a/src/api/gramjs/methods/auth.ts +++ b/src/api/gramjs/methods/auth.ts @@ -12,6 +12,7 @@ const ApiErrors: { [k: string]: string } = { PHONE_NUMBER_INVALID: 'Invalid Phone Number', PHONE_CODE_INVALID: 'Invalid Code', PASSWORD_HASH_INVALID: 'Invalid Password', + PHONE_PASSWORD_FLOOD: 'You have tried logging in too many times', }; const authController: {