r/ProgrammerHumor • • Feb 18 '24

Meme bruteForceAttackProtection

Post image
42k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

2

u/christmas54321 Feb 18 '24

Why would isfirstloginattempt be true? I assume that bool is set to false after the very first login attempt

2

u/Rabid-Chiken Feb 18 '24

Yeah it's a bad name, someone else pointed out the name would be better with "successful" in it but other than poor documentation the code can work