fds
This commit is contained in:
parent
5fa2694f72
commit
0967fba300
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ def logout(v):
|
|||
@auth_desired
|
||||
def sign_up_get(v):
|
||||
with open('disablesignups', 'r') as f:
|
||||
if f.read() == "yes": return {"error","New account registration is currently closed. Please come back later."}, 403
|
||||
if f.read() == "yes": return {"error": "New account registration is currently closed. Please come back later."}, 403
|
||||
|
||||
if v: return redirect("/")
|
||||
|
||||
|
@ -216,7 +216,7 @@ def sign_up_get(v):
|
|||
@auth_desired
|
||||
def sign_up_post(v):
|
||||
with open('disablesignups', 'r') as f:
|
||||
if f.read() == "yes": return {"error","New account registration is currently closed. Please come back later."}, 403
|
||||
if f.read() == "yes": return {"error": "New account registration is currently closed. Please come back later."}, 403
|
||||
|
||||
if v: abort(403)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue