diff --git a/app/client/src/ce/constants/approvedErrorMessages.ts b/app/client/src/ce/constants/approvedErrorMessages.ts index 9eb9fb7a30..b7d20e032f 100644 --- a/app/client/src/ce/constants/approvedErrorMessages.ts +++ b/app/client/src/ce/constants/approvedErrorMessages.ts @@ -9,6 +9,7 @@ import { VERIFY_ERROR_MISMATCH_TITLE, FORM_VALIDATION_EMPTY_EMAIL, AUTH_LOGIN_TOO_MANY_ATTEMPTS, + AUTH_ACCOUNT_SUSPENDED_FOR_RATE_LIMIT, AUTH_INVALID_CREDENTIALS, AUTH_UNAUTHORIZED, AUTH_NOT_LOGGED_IN, @@ -39,6 +40,7 @@ export const APPROVED_ERROR_MESSAGES = { // Authentication & Authorization ERROR_401, AUTH_LOGIN_TOO_MANY_ATTEMPTS, + AUTH_ACCOUNT_SUSPENDED_FOR_RATE_LIMIT, AUTH_INVALID_CREDENTIALS, AUTH_UNAUTHORIZED, AUTH_NOT_LOGGED_IN, diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index d8cf8cc3dd..95e3220a90 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -2679,6 +2679,8 @@ export const CUSTOM_ACTION_LABEL = () => "Custom Action"; export const AUTH_LOGIN_TOO_MANY_ATTEMPTS = () => "Too many login attempts. Please try again after some time."; +export const AUTH_ACCOUNT_SUSPENDED_FOR_RATE_LIMIT = () => + "Your account is suspended for 24 hours. Please reset your password to continue"; export const AUTH_INVALID_CREDENTIALS = () => "Invalid credentials provided. Did you input the credentials correctly?"; export const AUTH_UNAUTHORIZED = () => "Unauthorized access";