diff --git a/files/routes/login.py b/files/routes/login.py index 11561859d..4b6c8b13e 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -80,7 +80,7 @@ def login_deduct_when(resp): return g.login_failed @app.post("/login") -@limiter.limit("1/5 seconds;6/minute;15/hour;15/day", +@limiter.limit("6/minute;15/day", deduct_when=login_deduct_when) def login_post(): template = ''