dfs
This commit is contained in:
parent
8cd182342a
commit
f40d429e7e
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ def remove_meme_admin(v, username):
|
||||||
|
|
||||||
|
|
||||||
@app.post("/admin/monthly")
|
@app.post("/admin/monthly")
|
||||||
@limiter.limit("1/day")
|
@limiter.limit("2/day")
|
||||||
@admin_level_required(2)
|
@admin_level_required(3)
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def monthly(v):
|
def monthly(v):
|
||||||
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.admin_level > 2) or ('rama' not in request.host and 'pcm' not in request.host):
|
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.admin_level > 2) or ('rama' not in request.host and 'pcm' not in request.host):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue