1101
top 48 comments
sorted by: hot top controversial new old
[-] scrubbles@poptalk.scrubbles.tech 194 points 1 week ago* (last edited 1 week ago)

You're absolutely right! It doesn't make sense to show the user the 2fa code! removes 2fa completely

[-] Uli@sopuli.xyz 137 points 1 week ago

Oh, I get it! You still want 2fa, you just don't want the code to be shown! colors the text white

[-] ThePancakeExperiment@feddit.org 34 points 1 week ago

No, no, make it ultra secure and display none it, every website will be a database of important information, you just have to put everything into a hidden table!!

[-] PattyMcB@lemmy.world 20 points 1 week ago

Font size 0

[-] Schmoo@slrpnk.net 5 points 1 week ago

*Includes it in the URL

[-] Redjard@lemmy.dbzer0.com 16 points 1 week ago

Oh you want the code not rendered into html!
Drops the code in javascript when it is received from the backend.

[-] pure_bliss@discuss.tchncs.de 11 points 1 week ago* (last edited 1 week ago)

It took me way too long to figure out what was wrong with this screenshot

[-] Ilovethebomb@sh.itjust.works 53 points 1 week ago

Yeah, same here. I was counting the boxes thinking they'd got the wrong amount of numbers.

[-] Darkmuch@lemmy.world 9 points 1 week ago

I need help. I don’t get it…

[-] teegus@sh.itjust.works 23 points 1 week ago

The "secret" code sent to your phone is spelled out in the text

[-] undefined@lemmy.hogru.ch 80 points 1 week ago

SMS/email-based 2FA should die.

Luckily, you don't even need to check SMS or input a valid number with the “verification” in the screenshot!

[-] bamboo 30 points 1 week ago

mission failed successfully

[-] nogooduser@lemmy.world 13 points 1 week ago

It’s better than nothing and some people would really struggle to do other types of 2FA.

[-] djsoren19 7 points 1 week ago

I'll be homest with you, some people really struggle with email 2fa. The amount of working Americans I have spoken with who don't understand how to have two tabs open at once is genuinely frightening.

[-] Natanael@infosec.pub 6 points 1 week ago

As a reset method it's worse than having nothing

[-] null@lemmy.nullspace.lol 4 points 1 week ago

It's wild how standard SMS is given how (relatively) trivial it is to exploit.

[-] undefined@lemmy.hogru.ch 1 points 1 week ago

Even with autofilling it on iOS, macOS you still have developers that need to fuck with form fields using JavaScript because they think they’re smarter than you.

[-] dharmacurious@slrpnk.net 2 points 1 week ago

What's the best alternative?

[-] nogooduser@lemmy.world 14 points 1 week ago

App based 2FA is better. Either the app generates a time based code that you enter into the site or the site sends a push notification to the app asking you to verify the login attempt.

Passkeys are good too as they replace the password completely and leave the 2FA part to the device.

[-] victorz@lemmy.world 4 points 1 week ago

Passkey or notification please. So sick of entering these codes on a daily basis.

[-] Opisek@piefed.blahaj.zone 4 points 1 week ago

If it's alright with your threat model, you can put the time-based OTPs into your password manager of choice, like Bitwarden. Upon filling your username and password, it places your OTP in your clipboard, so that you can simply paste it in. This does of course reduce the security of the system slightly, since you centralize your passwords and your OTPs. When opting for this method, it is therefore imperative to protect your password manager even more, like via setting up 2FA for the password manager itself or making sure your account gets locked after something like 10 minutes of inactivity. The usability aspect is improved by using a yubikey or another similar physical key technology.

[-] RaivoKulli@sopuli.xyz 1 points 1 week ago

I just save the cookies tbh

[-] djsoren19 1 points 1 week ago

Okay, but then you have to develop an app

[-] psud@aussie.zone 1 points 1 week ago

I wonder if there are any TOTP apps for Linux phones (though I think I'll have to keep an Android or Apple device around for my workplace's 2FA which doesn't have anything for anything other than apple and Android phones, and only with full security)

[-] PlexSheep@infosec.pub 1 points 1 week ago

TOTP, FIDO2 or not worrying about logins and just using {GitHub,Google,Microsoft,selfhosted.lan} as identity provider with OIDC

[-] 8000gnat@reddthat.com 56 points 1 week ago

no factor authentication

[-] aarRJaay@lemmy.world 45 points 1 week ago

That's up there with: "You cannot use this password, it's already in use by ... "

[-] SethTaylor@lemmy.world 1 points 1 week ago

But that's so practical. Maybe I can contact them and ask them if we can swap. Haha

[-] elvith@feddit.org 32 points 1 week ago

IIRC the screenshot in the tweet is from a shitpost in reddits r/badUIbattles

[-] Evil_Shrubbery@thelemmy.club 22 points 1 week ago

Feels like testing feature, hopefully the screenshot isn't from production.

[-] AmbiguousProps@lemmy.today 31 points 1 week ago

We test in production, silly.

[-] Evil_Shrubbery@thelemmy.club 13 points 1 week ago
[-] ICastFist@programming.dev 2 points 1 week ago

It's not like QA would've caught these problems before it went to production anyway

[-] VonReposti@feddit.dk 10 points 1 week ago

Everyone has a test environment. Some are just lucky enough to have a separate production environment.

It's the only way to fly.

[-] pineapplelover@lemmy.dbzer0.com 20 points 1 week ago

I will be honest, it took me a good while to figure out what's wrong

[-] MystikIncarnate@lemmy.ca 1 points 1 week ago

Me too, but I woke up.... Checks watch .... 25 minutes ago, and I'm still pretty out of it.

[-] cows_are_underrated@feddit.org 18 points 1 week ago

Assuming this is real, how the fuck do you fuck up so badly?

[-] mcv@lemmy.zip 13 points 1 week ago* (last edited 1 week ago)

What!? It's more user friendly this way. No need to make the user switch to a totally different device when you can tell them right here!

/s

(I hate pointing out sarcasm, but it's better not to risk it these days.)

[-] Cevilia 3 points 1 week ago

(you don't need to apologise for using tone tags, they're a useful accessibility tool and hurt nobody)

[-] rumba@lemmy.zip 5 points 1 week ago

When I first added 2fa to page, I had a bug and made it do that to compare the values.

production or test, it's likely debug code.

[-] Lukemaster69@lemmy.ca 2 points 1 week ago
[-] cupcakezealot@piefed.blahaj.zone 14 points 1 week ago

i'm ashamed to say that took me a while to figure out what was wrong mostly because i didn't think someone would be that dumb.

[-] exu@feditown.com 12 points 1 week ago

Just delay accepting the numbers for 10 seconds to simulate the time needed to check SMS and type them.

[-] MonkderVierte@lemmy.zip 2 points 1 week ago
[-] Treczoks@lemmy.world 1 points 1 week ago

This could be vibe coding, or just an intern "doing the web site".

Neither should have write access to production code.

this post was submitted on 10 Oct 2025
1101 points (100.0% liked)

Programmer Humor

26932 readers
710 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS