Changing a user's email

I just merged this PR which does the below:

https://github.com/discourse/discourse/pull/10830

  • Changes the admin change email for user flow so the user is sent an email to confirm the change
  • We now record who the email change request was requested by
  • If the requested by user is admin and not the user we note this in the email sent to the user
  • We also make the confirm change email route open to anonymous users, so it can be clicked by the user even if they do not have access to their account. If there is a logged in user we make sure the confirmation matches the current user.

Hopefully this makes the process make a lot more sense!

4 Likes