this post was submitted on 13 Mar 2024
1003 points (97.2% liked)

Memes

45878 readers
1823 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 

Brute force protection

@memes

you are viewing a single comment's thread
view the rest of the comments
[–] Tarquinn2049 15 points 9 months ago (2 children)

This would be per session, not lifetime.

[–] kautau 2 points 9 months ago

This makes it even more cursed

[–] [email protected] 0 points 9 months ago

Function naming could use some work then, it's not obvious that isFirstLoginAttempt would be session-aware.

Sorry, I'll stop being pedantic now