Auth: Add error PHONE_PASSWORD_FLOOD (#1013)

This commit is contained in:
Alexander Zinchuk 2021-04-16 14:48:15 +03:00
parent 29ba0b997e
commit 747a3cc5bd

View File

@ -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: {