Primary email is listed as secondary email
Summary
With the latest release in the admin area (as of date of issue creation, it's GitLab 14.5.0-pre 26f6d1e8), the primary email is also listed as secondary email. This is a little confusing as email address has unique validation in place.
Steps to reproduce
- On any latest GitLab install, take any account and check the user in admin view.
What is the current bug behavior?
It is showing primary and secondary email as the same, and it's confusing when performing any admin level operation.
What is the expected correct behavior?
- The primary email should not be listed as secondary email.
Relevant logs and/or screenshots
cc// @m_frankiewicz
Edited by Emily Chang (OOO, back 22nd July)