BUG: Bad email address / email confirmation prompt
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=28756) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=28756) </details> <!--IssueSummary end--> <details><summary>Original Issue</summary> ### Summary * User created account with an email address containing a typo * Account was not confirmed due to typo * Typo was fixed and proper email address was eventually confirmed * When user navigates to the Profile>Settings page he sees a prompt to confirm the incorrect email address, see screenshot 1 in ZD ticket * Account is noted as confirmed in admin, see screenshot 2 in ZD ticket * The warning persists even when the email is confirmed via the console. See: https://gitlab.com/gitlab-com/support/dotcom/dotcom-escalations/issues/95#note_170778779 **Customer Ticket**: [ticket #121300](https://gitlab.zendesk.com/agent/tickets/121300) (internal) </details> ## Summary User created an account with an email address containing a typo. After correcting the typo and confirming the correct email address, the user still sees a prompt to confirm the incorrect email address in the Profile > Settings page. This issue persists even when the correct email address is confirmed via the console. ## Steps to reproduce 1. Create an account with an email address containing a typo. 1. Attempt to confirm the account (the confirmation fails due to the typo). 1. Correct the typo in the email address and confirm the correct email. 1. Navigate to Profile > Settings. ## What is the current bug behaviour? The user sees a prompt to confirm the incorrect email address even though the correct email address is confirmed. This warning persists in the settings page. ## What is the expected correct behaviour? Once the correct email address is confirmed, the user should no longer see the prompt to confirm the incorrect email address.
issue