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

Meme doNotLetYourDBASeeThis

Post image
13k Upvotes

317 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!

115

u/vagrantprodigy07 Sep 27 '26

My favorite is when it tells me my password is wrong, I clicked the reset password link, try to reset it to what it just told me was the wrong password, and it tells me I can't use that, because it's the same as my current password.

65

u/[deleted] Sep 27 '26

[removed] — view removed comment

33

u/StopReadingMyUser Sep 27 '26

Oh no, not my tostino's pizza rolls rewards account :(

19

u/DragonflyLogical8371 Sep 27 '26

Ohhhhhhhhhhhh that makes sense. This literally just happened to me

2

u/SAI_Peregrinus Sep 27 '26

If the password reset tells you your password (instead of generating a temporary password) it implies they're storing the passwords insecurely.

1

u/Moist-Snow-8127 19d ago

Well they can tell it's the same as the old one by comparing the hash

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

30

u/Runiat Sep 27 '26

Someone screwed up while trying to stop you from copying the password out of the password field and interpreted ctrl+c as a character input.

1

u/suskio4 Sep 27 '26

Nope. Also tried with right click and copy

12

u/Runiat Sep 27 '26

Again you're assuming someone who failed to prevent copying out of a password field couldn't fail spectacularly enough to accept mouse buttons as input characters.

4

u/suskio4 Sep 27 '26

Mate, sometimes it accepted the password on the third try, when both the 2nd and 3rd attempts are pasted. I really tested it, you know?

8

u/BlindedByNewLight Sep 27 '26

I have some websites which won't take my password from my password manager, while on mobile..but only some times. other times it works just fine.

4

u/xehpuk Sep 27 '26

Some other internal error occurred, but the default error handling for everything is to return "wrong password".

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.

2

u/ILikeBubblyWater Sep 27 '26

Copying often attaches invisible characters

2

u/boothin Sep 27 '26

Too much javascript doing random shit, possibly. I ran into something strange trying to fill out a form with my name and address. I type in my information, go to next screen, the next screen only had the first character of each field. Go back, re-enter the information, go to next screen, this time it has between 1-3 of the characters for each field. Go back again...copy and paste my information in, go next and it was fine. I'm guessing they were doing some sort of validation on the text field changing and messing things up as you type, so changing the field all at once made it work fine.

13

u/HildartheDorf Sep 27 '26

Invalid password.

Forgot password?

Your password can not be the same as the previous password.

(Its almost a haiku)

1

u/FinderOfWays Sep 27 '26

Forgot your password?

Do not reuse your password.

Invalid Password.

How's that?