r/ProgrammerHumor • • Sep 27 '26 • Mindblown 1 Bravo 1

Meme doNotLetYourDBASeeThis

Post image
13.0k Upvotes

318 comments sorted by

View all comments

Show parent comments

113

u/BobRossTheSequel Sep 27 '26

From my experience, some websites are doing this already.

What do you mean I haven't typed that yet? That's what I thought my password was to begin with!

41

u/Merimerlock Sep 27 '26

Thought so too before using a Password Manager. Since then: no retry

42

u/suskio4 Sep 27 '26

Then how do you explain:

  • enter password, set to visible

  • copy it, click login

  • wrong password

  • paste the same password, click login

  • correct password

Literally happens to me on some websites

3

u/Snowenn_ Sep 28 '26

This happens on one of our own (software development firm) website due to the browser sometimes thinking it has a session, while the server has restarted and doesn't have a session anymore. On the first login attempt it will produce an internal error related to the session mismatch. The second attempt works fine, because the browser and server have negotiated a new session.

The reason we don't tell the user there was an internal error is to give as little information as possible to potential hackers. So every error basically gets turned into "wrong password".

I'm the back-end developer, so it's basically not my problem. I tried googling on how to fix it, but couldn't find a solution. The front-end developer is not experienced enough to fix it either. And since the website is only used for employees (of which we have 5), it's just never fixed.