diff options
author | Frederick Muriuki Muriithi | 2022-12-28 05:57:13 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-12-29 03:13:31 +0300 |
commit | bc709d1aaf1d4ce752394be9d575414de0c66307 (patch) | |
tree | 5c80ca85254dcc7656be97fa41bf247e82991867 /wqflask/utility/startup_config.py | |
parent | 0fa16d7ccea97cec4864983291183249da994b4c (diff) | |
download | genenetwork2-bc709d1aaf1d4ce752394be9d575414de0c66307.tar.gz |
Implement "login" via OAuth2
Diffstat (limited to 'wqflask/utility/startup_config.py')
-rw-r--r-- | wqflask/utility/startup_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/startup_config.py b/wqflask/utility/startup_config.py index 59923fa1..69cac124 100644 --- a/wqflask/utility/startup_config.py +++ b/wqflask/utility/startup_config.py @@ -15,7 +15,7 @@ ENDC = '\033[0m' def app_config(): - app.config['SESSION_TYPE'] = 'filesystem' + app.config['SESSION_TYPE'] = app.config.get('SESSION_TYPE', 'filesystem') if not app.config.get('SECRET_KEY'): import os app.config['SECRET_KEY'] = str(os.urandom(24)) |