forked from MarseyWorld/MarseyWorld
tighten from 15/day to 10/day
parent
e41ee21f2b
commit
e1dc790165
|
@ -80,7 +80,7 @@ def login_deduct_when(resp):
|
|||
return g.login_failed
|
||||
|
||||
@app.post("/login")
|
||||
@limiter.limit("6/minute;15/day",
|
||||
@limiter.limit("6/minute;10/day",
|
||||
deduct_when=login_deduct_when)
|
||||
def login_post():
|
||||
template = ''
|
||||
|
|
Loading…
Reference in New Issue