remove redundant ratelimits in /login

master
Aevann1 2022-10-28 20:13:23 +02:00
parent b816973f38
commit e41ee21f2b
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ''