tighten from 15/day to 10/day

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

View File

@ -80,7 +80,7 @@ def login_deduct_when(resp):
return g.login_failed return g.login_failed
@app.post("/login") @app.post("/login")
@limiter.limit("6/minute;15/day", @limiter.limit("6/minute;10/day",
deduct_when=login_deduct_when) deduct_when=login_deduct_when)
def login_post(): def login_post():
template = '' template = ''