mirror of
https://gh-proxy.org/https://github.com/klinsmaya/CLIProxyAPI.git
synced 2026-11-08 17:36:47 +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.