fdfd
This commit is contained in:
parent
77cf9781e7
commit
5017c0cf5a
2 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue