Do not show successfully verified page
What does this MR do and why?
When the following sequence of actions happens:
- the
identity_verification
FF is turned on - an account is created and identity verification is not completed
- someone logs into GitLab with another account in the same browser
Then the Verification successful page is shown when it should not be shown. This MR fixes that.
Issue: #384163 (closed)
Screenshots or screen recordings
Screen_Recording_2022-12-14_at_13.34.10
How to set up and validate locally
- In rails console enable the
identity_verification
feature flagFeature.enable(:identity_verification)
- Log out of your local instance and create a new account
- Do not finish verification
- visit http://localhost:3000/users/sign_in and login with an existing account
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alex Buijs