master
Aevann1 2021-08-27 21:38:18 +02:00
parent f167201c1f
commit fdfa5c3eb3
2 changed files with 1 additions and 5 deletions

View File

@ -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):

View File

@ -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: