Further rate limit login
This commit is contained in:
parent
213e1c1e86
commit
d77c8e1497
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ def admin_login():
|
|||
return render_template('admin_login.html', error=error)
|
||||
|
||||
@app.route('/admin', methods=['POST'])
|
||||
@limiter.limit("1 per minute")
|
||||
@limiter.limit("10 per hour")
|
||||
def admin_login_post():
|
||||
error = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue