명령줄로 사용자를 생성했습니다. 활성화되어 있다고 하는데 실제로는 아닌 것 같은데?

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?

You can also delete the related EmailToken instance from the rails console manually.