Further rate limit login

This commit is contained in:
Minecon724 2025-04-02 15:24:28 +02:00
commit d77c8e1497
Signed by untrusted user who does not match committer: m724
GPG key ID: A02E6E67AB961189

View file

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