5 Commits
Author SHA1 Message Date
yibaiba 087afaf010 test(api): cover concurrent login lockout reservations 2026-10-29 16:34:45 +08:00
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
yibaiba 4f2b4bec64 chore(go): format existing sources 2026-08-14 18:10:20 +08:00
yibaiba 045f455e46 refactor(go): move module to yibaiba/hideck 2026-08-14 11:48:09 +08:00
windloom de689a554d Assemble source-integrated VoHive 2026-07-06 04:30:39 +08:00