You're absolutely right! It doesn't make sense to show the user the 2fa code! removes 2fa completely
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Oh, I get it! You still want 2fa, you just don't want the code to be shown! colors the text white
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!!
Font size 0
Oh you want the code not rendered into html!
Drops the code in javascript when it is received from the backend.
It took me way too long to figure out what was wrong with this screenshot
Yeah, same here. I was counting the boxes thinking they'd got the wrong amount of numbers.
I counted the boxes 3 times. :(
I need help. I don’t get it…
The "secret" code sent to your phone is spelled out in the text
No point sending the code to your phone when it's displayed right there. The idea of doing this is making sure nobody has stolen your password, because they still need access to your phone before they can access your account.
no factor authentication
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!
mission failed successfully
It’s better than nothing and some people would really struggle to do other types of 2FA.
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.
As a reset method it's worse than having nothing
It's wild how standard SMS is given how (relatively) trivial it is to exploit.
That's up there with: "You cannot use this password, it's already in use by ... "
But that's so practical. Maybe I can contact them and ask them if we can swap. Haha
They were called scriptkiddies back in the day
Has the general discourse settled on a proper epithet for this new version?
"vibe coders" doesn't feel derogatory enough.
Agreed, they're getting off light. I've worked with people who felt the code, but werent always able to communicate their ideas. I'd say theyd fit the idea of vibe coding without ai.
The concept is taken, and doesn't describe the intent well. How about "pseudocoders".
At least they had real intelligence, doing stuff like this is basically so stupid you'd be clinically braindead
IIRC the screenshot in the tweet is from a shitpost in reddits r/badUIbattles
This could be vibe coding, or just an intern "doing the web site".
Neither should have write access to production code.
I feel like I saw this or the same thing on a different screenshot before AI, I'm not sure whether it's deliberately crafted bad security thing or legit bad from the wild
I don't think it's the result of vibe coding
i mean either one of those fucked up but it's also on the qa/testing team and the deployment team that they let it GET to production.
Feels like testing feature, hopefully the screenshot isn't from production.
We test in production, silly.
Everyone has a test environment. Some are just lucky enough to have a separate production environment.
Assuming this is real, how the fuck do you fuck up so badly?
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.)
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.
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.
This could also be a funny translation issue.
My bank sends a text message to me with the first code and a second code I enter.
They tell me the first code in a similar way so I can verify they sent it to me, then I enter the other code in the text.
Sike! That's the wrong number! /s
It's spelled "psych", as in you're psyching them out.
It's ok I'm oot of academia.
Just delay accepting the numbers for 10 seconds to simulate the time needed to check SMS and type them.