3 ms·
The purpose of a username is to identify a user, publicly and to the application with an account and password. If usernames weren't unique, it might be impossib
by krapp 8y ago
The purpose of a username is to identify a user, publicly and to the application with an account and password. If usernames weren't unique, it might be impossible to distinguish between accounts with the same username, much less the same password. Forcing passwords to be unique is unacceptable as every failed attempt to register an account with a password that exists will tell you someone is using that password (to say nothing of the overhead of having to check that.) But being told a username exists doesn't expose the same security risk.