Files
linux-odyssey/packages
Vincent23412 af2f1ef707 feat(auth): add LoginAttempt schema and record login attempts with failure rate limit
- Added `LoginAttempt` Mongoose schema to store login history
- Integrated login attempt recording into login flow (success/failure)
- Created `rateLimitByAccount` middleware to block login if 10 failed attempts in 10 minutes
2025-04-27 15:57:34 +08:00
..
2025-04-26 17:27:49 +08:00
2025-04-26 13:10:48 +08:00
2025-04-26 17:02:47 +08:00
2025-04-26 13:22:32 +08:00