2 ms·
You didn't really address the parent's point, which is that their misspelled username might match another real username. In this case, telling them that their p
by baddox 12y ago
You didn't really address the parent's point, which is that their misspelled username might match another real username. In this case, telling them that their password is incorrect is actively sending them down the wrong path, because they are likely to try fixing the password field rather than the username field.
- andrewstuart2 12y agoTelling them "correct password, wrong email" seems like a bit of an information leak if you ask me. I think a "did you mean?" output in case of a bad password as long as there are lexically similar usernames in the database.
- masklinn 12y agoIgnoring the fact that doing that would be retarded, if you're following modern practices and hashing passwords with KDFs that's not really possible without killing your server.
- andrewstuart2 12y agoSorry, should have added a :-P to indicate my sarcasm.
- crumpled 12y agofacebook handles this case by showing the profile picture of the user matching the email field. banks and yahoo handle this case by showing a magic image that you chose, which also provides anti-phishing feedback