Display when locked account email verification code was sent
Related to https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/710+.
What does this MR do and why?
Display when locked account email verification code was sent
There are two possible emails containing a verification code that can be sent to a user:
- Email containing verification code used to confirm a user's email right after they sign up or when they add a secondary email (doc)
- Email containing verification code used to unlock a user's account when they get locked out after exceeding failed sign-in attempts or when they sign-in from an un-trusted IP address (doc)
This MR:
- Updates the existing
Email verification last sent at
field toEmail confirmation code last sent at
. This makes it clearer that the timestamp is for the email sent containing code to confirm a user's email after they signed up - Adds
Locked account email verification code last sent at
- Adds indicator if the last sent email contains an expired code. This will make it easier for support to know if they should suggest a user to trigger email resend and receive a new code.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Eugie Limpin