peerreview icon indicating copy to clipboard operation
peerreview copied to clipboard

If you update your profile, it will break changing email

Open danielBingham opened this issue 1 year ago • 2 comments

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:

  1. Login to a user account.
  2. Update the user's profile details (edit the bio)
  3. 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.

danielBingham avatar Aug 22 '23 20:08 danielBingham