forked from rDrama/rDrama
1
0
Fork 0
master
fireworks88 2021-07-26 16:58:46 +02:00
parent 8c1bee5bb4
commit f6674820ba
1 changed files with 4 additions and 4 deletions

View File

@ -156,8 +156,8 @@ def logout(v):
@no_cors
@auth_desired
def sign_up_get(v):
if app.config.get("DISABLESIGNUPS", False):
return "Signups are disable for the time being.", 403
#if app.config.get("DISABLESIGNUPS", False):
# return "Signups are disable for the time being.", 403
if v: return redirect("/")
@ -213,8 +213,8 @@ def sign_up_get(v):
@no_cors
@auth_desired
def sign_up_post(v):
if app.config.get("DISABLESIGNUPS", False):
return "Signups are disable for the time being.", 403
#if app.config.get("DISABLESIGNUPS", False):
# return "Signups are disable for the time being.", 403
if v:
abort(403)