Skip to content

Display when locked account email verification code was sent

Eugie Limpin requested to merge el-display-email-verification-code-sent-at into master

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:

  1. Email containing verification code used to confirm a user's email right after they sign up or when they add a secondary email (doc)
  2. 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:

  1. Updates the existing Email verification last sent at field to Email 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
  2. Adds Locked account email verification code last sent at
  3. 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
Screenshot_2024-08-21_at_12.08.13_PM Screenshot_2024-08-21_at_12.06.34_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Eugie Limpin

Merge request reports

Loading