A partial archive of meta.discourse.org as of Tuesday July 18, 2017.

Previously active user accounts no longer permitted to login


I had this potential bug come up twice so far.

A user registers for my forum (which is private and invite only), gets the activation email, activates their account, logs in, posts for a while, and then takes a break for a few weeks.

When they try to login again, they get an error message like this:

You can’t log in yet. We previously sent an activation email to you at youremail@domain.com. Please follow the instructions in that email to activate your account.

At this point they’re stuck. They can’t login. Reactivating via the previously sent activation email that they’ve already used doesn’t work. And if I go to their user page, it shows that their account is already approved. If I manually deactivate and reactivate it, that doesn’t let them login either.

This has happened to two different users on our forums so far. Once they’re frozen out, the problem occurs across different browsers and devices, so it doesn’t appear to be a caching issue. We also ruled out any sort of ad blocker. Seems like a potential bug to me.

Otherwise how do I restore these accounts to active status, so these members can login again? Both are still being prevented from logging in. I’d prefer not to make them new accounts since they’ve already set up profiles and posted under the old accounts.

This is with version v1.9.0.beta4 +52 from a few days ago. But it started happening a few weeks earlier.


I am not aware of any way an active, validated account could become automatically deactivated. There is no support for this in Discourse to my knowledge.

Are you running any custom plugins or custom API code?


No custom plugins or API code. Just a plain vanilla install. There are about 100 registered users, and it’s been working fine for everyone else.

Most of the indicators suggest these two accounts are indeed still active. On the admin side when I look up these users, both accounts show as active, approved, not blocked, not suspended, and not staged.

When I use the Impersonate feature on the admin side, I’m able to get into both of these accounts no problem.

One user made 3 posts, and the other made 7 posts, and both have read more than 100 posts, so they were both definitely active in the forums before Discourse started locking them out for some reason.

If either user tries to reactivate their account, they get a message saying it’s already active. But when they try to login normally, it tells them they still need to activate it. So it looks like something is falsely triggering this error message when they try to login. The only thing they seem to have in common is that they both took a break from visiting the forums for a while, roughly two weeks for one of them and I’m not sure how long for the other. So if this is a bug, it may have something to do with that. I noticed when I impersonated one account, it showed a message noting that I’d been away for a while.

Resetting the password doesn’t seem to work either.

In the short term, any ideas on what I can do to allow these users to login again? Both are currently still locked out. I could create new accounts for them, but that seems a bit lame since they already made posts with these.


Still seems very odd, we’d have dozens of reports of this if it was a systemic problem. @techAPJ can you have a look? And @Steve_Pavlina can you provide access via PM for Arpit?


Sure thing. I just PM’d him.


I’m hoping this is signal and not noise, but I encountered something similar-ish in a private, invite-only forum, running version v1.9.0.beta4 +56.

A user received an invitation email and was able to create an account, but when they attempted to access the forum, they encountered the message mentioned above:

I deactivated and manually reactivated their account (skipping email activation), which resolved the issue for them.

I don’t have enough information to call this a reproduction, but I offer it just as an anecdote.


What are the repro steps?