this post was submitted on 18 Feb 2024
349 points (100.0% liked)

tails: A Place for Mastodon Posts

355 readers
1 users here now

A virtual community

Posts from Mastodon users, featured natively in a community, so you can view them without the need for them to be re-hosted or screenshoted, and reply to the original author and Mastodon respondents if you wish.

Has so far included content from Warsandpeas, Mr. Lovenstein, SMBC, Loading Artist, Low Quality Facts, nixCraft, ElleGray, and other interesting or provocative stuff I've random'd across on Mastodon.


Supported:
Comments & Upvotes
Unsupported:
Posts, Downvotes, & PD's Automod

founded 10 months ago
MODERATORS
 

Image description: The text contains the phrase "Hey! What's going on?" followed by the phrase "Sick bastard!". Below that is some code that appears to be related to password verification.


(Originally published on mastodon.social: 2024-02-18)

you are viewing a single comment's thread
view the rest of the comments
[–] Gonzako@lemmy.world 14 points 9 months ago (1 children)

The code basically says that if you don’t input the password correctly at first you don’t get to log in for the whole session.Edit: nvm it actually checks for both being true without negating them. So it always forces the user to input the same password twice

[–] Mango@lemmy.world 3 points 9 months ago

Which is kind of genius.