Under my Profile Settings → Emails, there is the following statement:
Your Primary Email will be used for avatar detection and web based operations, such as edits and merges.
Your Notification Email will be used for account notifications.
All email addresses will be used to identify your commits.
On the same page, there is an Add button.
At this point, I have two email addresses. The email address I signed up with has a green label, “Primary Email” and it does not have a Remove button. My added email address has a Remove button but no label.
How do I change my Primary Email address, and how do I select/set a Notification Email address?
@axil - Thank you for clarifying where all the different settings are.
When I try to change my primary email on the main profile page I always get a “Failed to update profile” message. Any idea why or how to get it accept the change?
I’ve tried just clicking the “Save changes” button, I’ve tried pressing the enter key, and I’ve logged out and back in again and done both the “Save changes” and enter key again. All with no success.
@mickeykrasilnikov - The address I’m replacing (i.e. that worked initially) had “.” to the left of the @. The address I’m trying to replace it with does NOT have any “.” to the left of the @ symbol. Both have required “.” to the right of the @ (e.g. 2 “.” to the right in metasean@forum.gitlab.com).
Same problem with " GitLab Community Edition [12.0.3]"
sudo gitlab-rails console
# Find user
user = User.find_by_email("a.toto@tutu.fr")
# Update email with dot and save
user.email = "a.toto@tii.fr"
user.save
# Failed
=> false
# Update email without dot and save
user.email = "atoto@tii.fr"
user.save
# Success
=> true