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