mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
- Introduced a new `attemptInfo` structure to track failed login attempts per IP. - Added logic to temporarily ban IPs exceeding the allowed number of failures. - Enhanced middleware to reset failed attempt counters on successful authentication. - Updated `Handler` to include a `failedAttempts` map with thread-safe access.