peerreview
peerreview copied to clipboard
If you update your profile, it will break changing email
Describe the bug A clear and concise description of what the bug is.
Attempting to change your email will fail after you've updated your profile. This is the result of the profile updating return an updated clean user
object with out the email and setting that on the currentUser
which is supposed to be a unclean user
with the email included.
To Reproduce Steps to reproduce the behavior:
- Login to a user account.
- Update the user's profile details (edit the bio)
- Attempt to change the user's email
Actual behavior What actually happened?
The change will fail with a server error.
Expected behavior A clear and concise description of what you expected to happen.
The change will succeed.