Skip to content
  • Schuyler Erle's avatar
    d3fa93ef
    feat: add rate limiting to authentication endpoints · d3fa93ef
    Schuyler Erle authored
    Add Flask-Limiter with Redis backend to protect auth endpoints from
    brute force and credential stuffing attacks.
    
    Endpoints protected:
    - /login: 5/min per IP + 5/15min per username
    - /register, /forgot, /reset, /resend-verification: 3/min per IP
    
    Rate limits are configurable via [rate_limit] section in config.ini.
    
    Supersedes !54 and !56 with a unified implementation.
    d3fa93ef
    feat: add rate limiting to authentication endpoints
    Schuyler Erle authored
    Add Flask-Limiter with Redis backend to protect auth endpoints from
    brute force and credential stuffing attacks.
    
    Endpoints protected:
    - /login: 5/min per IP + 5/15min per username
    - /register, /forgot, /reset, /resend-verification: 3/min per IP
    
    Rate limits are configurable via [rate_limit] section in config.ini.
    
    Supersedes !54 and !56 with a unified implementation.
Loading