Tom is unable to log in to his Discourse instance and isn’t receiving email login or password reset emails. He confirms that Mailgun logs show no email activity, suggesting a sending issue. PaigeLynn suggests resetting the Mailgun password and reconfiguring Discourse, while Omarfilip points to admin account recovery methods via console or admin tools. Stephen clarifies that if no emails are appearing in Mailgun logs, the issue is likely authentication or configuration in Discourse. Tom questions whether there’s a bug: when he attempts to reset his password using old usernames (xyz, xyzadmin), Discourse responds as if an email was sent, even though no email was generated. Stephen asks if SSO is in use, but Tom confirms it’s not. Codinghorror explains that staff accounts require email verification for both old and new addresses, which may be relevant to the issue. Tom thanks codinghorror for the clarification and acknowledges the explanation.
So I had a discourse that I set up a few weeks ago and had not logged in since then.
However, I receive no emails from it whatsoever now to log in. My old password also does not seem to work and the forgot password appears to work on the website but I never receive any emails.
So I think I found a bug?
Prior usernames for my admin account were
xyz
and xyzadmin
However, the username was changed while I was in discourse to “Thexyzadmin”.
Whenever I tried to reset my password, entering the usernames “xyz” or “xyzadmin” would lead to discourse telling me to check my email for the reset password link. Is that supposed to happen?
To rephrase what I said earlier (because what I said earlier seems confusing to me upon re-reading it),
If a user changes their username while in discourse, (in this case it was the admin who changed their username), then discourse should never respond with check your email if an email was never generated for the prior username.