Display current user's username in Identity Verification page
What does this MR do and why?
Resolves https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/708.
Display current user's username in Identity Verification page
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
-
Start GDK simulating SaaS
$ export GITLAB_SIMULATE_SAAS=1 $ gdk start
-
Enable FFs and update required settings
$ rails c > Feature.enable(:identity_verification) > ApplicationSetting.first.update(email_confirmation_setting: 'hard', require_admin_approval_after_user_signup: false)
-
Setup Arkose
> ApplicationSetting.first.update(arkose_labs_public_api_key: "XXX", arkose_labs_private_api_key: "YYY", )
Note: credentials are in 1Password under
ArkoseLabs API keys (DEVELOPMENT)
-
Go to http://localhost:3000/users/sign_up, fill in the signup form, and then click
Register
-
Verify that you are redirected to the Identity Verification page and that the new user's username is displayed (see screenshot above)