forked from MarseyWorld/MarseyWorld
Increase rate-limit on /del_report/.
parent
13dfa370b1
commit
3416ed76e4
|
@ -104,7 +104,7 @@ def api_flag_comment(cid, v):
|
|||
|
||||
|
||||
@app.post('/del_report/post/<pid>/<uid>')
|
||||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
||||
@limiter.limit("4/second;100/minute;300/hour;2000/day")
|
||||
@admin_level_required(PERMS['FLAGS_REMOVE'])
|
||||
def remove_report_post(v, pid, uid):
|
||||
|
||||
|
@ -131,7 +131,7 @@ def remove_report_post(v, pid, uid):
|
|||
|
||||
|
||||
@app.post('/del_report/comment/<cid>/<uid>')
|
||||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
||||
@limiter.limit("4/second;100/minute;300/hour;2000/day")
|
||||
@admin_level_required(PERMS['FLAGS_REMOVE'])
|
||||
def remove_report_comment(v, cid, uid):
|
||||
|
||||
|
|
Loading…
Reference in New Issue