g
This commit is contained in:
parent
6fbe3017d3
commit
fbe6c3dd26
20 changed files with 49 additions and 33 deletions
|
@ -274,6 +274,7 @@ def contact(v):
|
|||
|
||||
@app.post("/send_admin")
|
||||
@limiter.limit("1/second")
|
||||
@limiter.limit("6/hour")
|
||||
@auth_required
|
||||
def submit_contact(v):
|
||||
message = f'This message has been sent automatically to all admins via [/contact](/contact), user email is "{v.email}"\n\nMessage:\n\n' + request.values.get("message", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue