testing
This commit is contained in:
parent
9c6ff97e4d
commit
933831c422
13 changed files with 101 additions and 109 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue