Created a user from command line. Supposedly active, but isn't?

Canapin
Sat, 31 Jan 2026 11:32:38 +0000
Support

bundle exec rake admin:create
Email:  canapin3@gmail.com
Password:
Repeat password:

Ensuring account is active!

Account created successfully with username user3
Do you want to grant Admin privileges to this account? (Y/n)  n
discourse@a9ebdc1b7a27:/workspace/discourse$

The admin interface shows the user is active:

But when trying to log in with the created user, it shows:

The workaround was to deactivate the user from the admin, then re-activate it.

Is it a bug, or supposed to be this way for some reason?

2 messaggi - 2 partecipanti