This commit is contained in:
Aevann1 2022-01-15 08:31:17 +02:00
parent 9c6ff97e4d
commit 933831c422
13 changed files with 101 additions and 109 deletions

View file

@ -262,8 +262,7 @@ def contact(v):
return render_template("contact.html", v=v)
@app.post("/send_admin")
@limiter.limit("1/second")
@limiter.limit("6/hour")
@limiter.limit("1/second;2/minute;6/hour;10/day")
@auth_required
def submit_contact(v):
body = request.values.get("message")