Logging in as a non-activated user gives unclear error message
Please confirm you have done the following before posting your bug report:
- [x ] I have enabled debug mode
- [ x] I have read checked the Common Issues page
Describe the bug Currently, if you create a user and do not activate them, when the user tries to login they are returned back to the login screen with a generic "username or password is incorrect" message. We should provide feedback that instead their account is not activated for logins.
To Reproduce Steps to reproduce the behavior:
- Go to Login page
- Attempt to login as an unactivated user
- See the "username or password is incorrect error message returned
Expected behavior An error message is displaying indicating the user is not activated.
I opted for a more generic message so that we do not disclose what accounts are currently registered, for security purposes. Same reason we don’t specify whether your username or password is wrong. Could present the opportunity for spearphishing, etc.
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This won't be fixed, so closing.