snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Logging in as a non-activated user gives unclear error message

Open mnemonicly opened this issue 8 years ago • 3 comments

Please confirm you have done the following before posting your bug report:

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:

  1. Go to Login page
  2. Attempt to login as an unactivated user
  3. See the "username or password is incorrect error message returned

Expected behavior An error message is displaying indicating the user is not activated.

mnemonicly avatar Jul 27 '18 11:07 mnemonicly

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.

snipe avatar Jul 27 '18 18:07 snipe

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!

stale[bot] avatar Sep 25 '18 18:09 stale[bot]

This won't be fixed, so closing.

snipe avatar Sep 27 '18 05:09 snipe