Howto: Change a user's email when they can't access the email account

(Andrew Waugh) #1

Our site was created from an import of a preexisting system. Some of the user account definitions had historical email addresses which the users can no longer access (on the old system they just kept logging in with a username and password - the email was only used for a password reset).

So now that on Discourse the password change mechanism depends on email the users aren’t able to retrieve their forgot password email, they also can’t confirm the password change email that is triggered when I go in as admin and change their email address.

Similarly, if an active user changes their email, and mistypes it you end up in the same situation.

Here is the fix:

  1. Check that the email that user wants to use isn’t already taken.
  2. Go to their account, admin
  3. Deactivate the account.
  4. Change the email.
  5. Reactivate the account
  6. Presto magic, the new addy is now there in the user profile.

Change user's email without verification
Reset user password by Admin
List of full moderation tools?
Ability to merge users
Email is not allowed
(Dave Higgins) #2

Works great.
Make sure this is set in the Dashboard though:

Mine is unchecked normally. I check it temporarily whilst I make the edit.

(Paul) #3

Just adding the mod access should be removed for moderators before the email change can be made. Then re-enable mod access once the email change has been completed.