2 ms·
I'd prefer the error to be "invalid username" if the typed username is not registered, and "wrong username or password" if it is. The system only knows if the u
by tromp 4y ago
I'd prefer the error to be "invalid username" if the typed username is not registered, and "wrong username or password" if it is.
The system only knows if the username is valid or not; it doesn't know whether it's wrong (i.e. mistyped).
- kahrl 4y agoI'd prefer to not create brute force vulnerability that leaks the site's list of user email addresses to an attacker.