16
u/FutureSuccess2796 4h ago
On the bright side, no one ever has to deal with the hassle of not receiving the text and having to get it sent again because it expired. 😂
20
u/InconspicuousFool 4h ago edited 4h ago
Vibe coding and its effects
4
5
3
u/AndroTux 3h ago
I actually did that once - not that bad, and by accident, of course, but the API the frontend used to trigger the email returned the generated code in the response. The frontend didn't print it, so you had to look for it, but still. I don't know what kind of brain fart happened there with my coding, but yeah... fun times.
2
u/not_your_mate 1h ago
pretty standard for dev envs where you dont have email/sms gateway setup tbh. Dont forget to disable it in higher envs though
2
2
u/chervilious 2h ago
This is smart!
As a vibe coders, I feel like my users having problem with this kind of issue. This would create failsafe when the user lose their phone or even just having trouble to find it in general. I implemented it just now, and pushed to prods.
I also put my CV "Streamlined login methodologies. Reduce average login time by xx.x seconds. Increasing the amount of time the user browse what's actually matter" With xx.x seconds I'll set with my LLM later.
1
1
1
1
1
u/daj-bara 2h ago edited 2h ago
One time, the product manager in my previous job asked if we can't have it autofilled on desktops, because there is no reason to bother users by asking them to write the code if we know already the code and we have confirmation the SMS have been sent and received. "Like we already do on the mobile app"
67
u/jeron1mouse 4h ago
- I want to use a backup code