From e41ee21f2b407e8cc1a842db970d92a5667a29b7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 28 Oct 2022 20:13:23 +0200 Subject: [PATCH] remove redundant ratelimits in /login --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''