This commit is contained in:
Aevann1 2021-10-05 21:50:41 +02:00
parent 3bc60134f2
commit 2b65faee42
2 changed files with 22 additions and 0 deletions

View file

@ -120,6 +120,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
@app.post("/comment")
@limiter.limit("6/minute")
@limiter.limit("1/second")
@is_not_banned
@validate_formkey
def api_comment(v):