MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1au0z6f/bruteforceattackprotection/kr1p611/
r/ProgrammerHumor • u/MrEfil • Feb 18 '24
1.0k comments sorted by
View all comments
Show parent comment
2
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
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
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