If a user’s email account has been deleted, they won’t be able to change their email address through the site preferences due to the confirmation email being sent to the inaccessible address. awesomerobot suggests resolving this issue via the Rails console, referencing a walkthrough here. Alternatively, as pfaffman proposes, another admin can temporarily remove the user’s admin rights, allowing them to change their email address. Andro successfully used the Rails console method and provided clarification on the necessary commands. neounix offers an additional approach, using the command docker exec -it app rails c to access the Rails console in one line, and suggests setting up an alias for this command for ease of use.
I deleted my email account with a certain mail service. Now when changing email in preferences, it says to check the confirmation email sent to that address, now inaccessible. Even as the site administrator when changing the email I get the same message.
What to do in this case? This must be a common enough occurrence.
The other way to do this, if you hate Rails and there are multiple admins, is have the other admin take away your admin rights, then you change your address, then they give you admin back.