Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Tobyvw6987y"Sorry, that password is already taken by Palethron. Please chose another password."
However. The hashing *should* make everything unique. -
@Tobyvw if salt(s) are random and collision probability is low enough, yes. But when someone asks it like that I wonder if passwords aren't stored in plain text...
Were they? -
@Hallelouia their assumption was that the passwords were stored in plaintext and did not want to allow two users to use the same password. i can’t even remember the reason for this request. the reason for the request is not so idiotic as this solution which someone came up with.
-
Hahahahaha secure af mate.
I think I’ve seen posts about this sort of nonsense before on plain text offenders. -
Was just rethinking about this, but if you salt correctly and use correct hashing you should actually not have duplicate password hashes in your database, since you are not supposed to have collision. I guess unique could prevent saving collided hashes but I don't know how relevant that would be...
Related Rants
-
stackodev50Boss: “Our YouTube channel doesn’t look at all like our website.” Me: “I’ve made it look as close t...
-
2nd2NULL14Our website doesn't look the same on phone and desktop. Please remove responsivness.
-
cursee16X: Can you link my Facebook account with the website? Me: Yes. Can. X: Good. I want to update website using ...
Password field unique in database.
rant
wk75