Skip to content

otp local to db storing and addition lockout error message display#6

Open
PareekshithPalat wants to merge 1 commit intofynmanoj:develop-v1.9.1from
PareekshithPalat:otp-db-store
Open

otp local to db storing and addition lockout error message display#6
PareekshithPalat wants to merge 1 commit intofynmanoj:develop-v1.9.1from
PareekshithPalat:otp-db-store

Conversation

@PareekshithPalat
Copy link

Latest Fix

1) OTP LOCAL TO DB STORING

Instead of storing the generated OTP inside the local system, it now stores the OTP inside the database "m_otp_store".
Once the OTP is used by the user, the otp automatically gets removed from the Database.

2) FIX FOR THE GENERIC ERROR DISPLAY

Previously in the code, when the user gets locked out after the password was changed, it usually throws a generic error message rather than mentioning the real cause.
Changed the generic message to the appropriate error message to notify the user that the lockout period hasn't ended yet.

The message shows the following:

        "developerMessage": "Account is temporarily locked for 5 minutes for security. Please try again in 4 minutes 2 seconds.",
        "defaultUserMessage": "Account is temporarily locked for 5 minutes for security. Please try again in 4 minutes 2 seconds.",
        "userMessageGlobalisationCode": "error.msg.account.locked",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant