1.0.1 release #15

Merged
williamp merged 35 commits from testing into master 2023-03-21 18:10:14 +00:00
10 changed files with 97 additions and 14 deletions
Showing only changes of commit 00c4bc960e - Show all commits

View File

@@ -27,8 +27,11 @@ login_manager = LoginManager()
login_manager.login_view = 'login'
login_manager.init_app(app)
if os.environ['SIGNUP_ENABLED'] == "YES":
if 'SIGNUP_ENABLED' in os.environ:
if os.environ['SIGNUP_ENABLED'] == "YES":
signup_enabled = True
else:
signup_enabled = False
else:
signup_enabled = False