Files
hideck/internal/api
BFNOC 8845a93045 fix(api): lock out repeated failed logins
- Count only failed login and rotate attempts per IP
- Give back a successful attempt within its own counting window
- Lock an IP for 10 minutes once it reaches 10 failed attempts
- Return Retry-After on rate-limited login and rotate requests
- Prune expired IPs from the attempt map
- Log the lockout once and each failed rotate authentication
2026-10-29 14:10:33 +08:00
..