Skip to content

Fail closed when login lockout counter cannot be recorded - #124

Merged
SamRepository25 merged 1 commit into
mainfrom
fix/login-lockout-failure-tracking
Nov 23, 2026
Merged

SamRepository25 merged 1 commit into
mainfrom
fix/login-lockout-failure-tracking

Conversation

@SamRepository25

Copy link
Copy Markdown
Owner

Security fix

  • Count all invalid credential attempts (invalid email and valid email with incorrect password) in the same IP-scoped lockout counter.
  • Fail closed if the lockout failure counter cannot be persisted, rather than silently continuing with an unverifiable security state.
  • The existing database threshold remains 5 failures and lock duration remains 30 minutes.

Validation

  • Reviewed current application logic and SQL migration for the 5-attempt threshold.
  • Verified updated file content on the branch.
  • No local build/test suite was run in this environment.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
codeforgedev Ready Ready Preview Nov 23, 2026 2:02pm UTC

@SamRepository25
SamRepository25 merged commit fd06189 into main Nov 23, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — f189b292 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant