forked from rDrama/rDrama
fdfd
parent
f167201c1f
commit
fdfa5c3eb3
|
@ -99,11 +99,6 @@ def flagged_comments(v):
|
||||||
v=v,
|
v=v,
|
||||||
standalone=True)
|
standalone=True)
|
||||||
|
|
||||||
@app.get("/admin/test")
|
|
||||||
@limiter.limit("1/day")
|
|
||||||
def admin_test():
|
|
||||||
return "fug"
|
|
||||||
|
|
||||||
@app.get("/admin")
|
@app.get("/admin")
|
||||||
@admin_level_required(3)
|
@admin_level_required(3)
|
||||||
def admin_home(v):
|
def admin_home(v):
|
||||||
|
|
|
@ -231,6 +231,7 @@ def sign_up_get(v):
|
||||||
|
|
||||||
|
|
||||||
@app.post("/signup")
|
@app.post("/signup")
|
||||||
|
@limiter.limit("5/day")
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def sign_up_post(v):
|
def sign_up_post(v):
|
||||||
with open('./disablesignups', 'r') as f:
|
with open('./disablesignups', 'r') as f:
|
||||||
|
|
Loading…
Reference in New Issue