aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/startup_config.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-12-28 05:57:13 +0300
committerFrederick Muriuki Muriithi2022-12-29 03:13:31 +0300
commitbc709d1aaf1d4ce752394be9d575414de0c66307 (patch)
tree5c80ca85254dcc7656be97fa41bf247e82991867 /wqflask/utility/startup_config.py
parent0fa16d7ccea97cec4864983291183249da994b4c (diff)
downloadgenenetwork2-bc709d1aaf1d4ce752394be9d575414de0c66307.tar.gz
Implement "login" via OAuth2
Diffstat (limited to 'wqflask/utility/startup_config.py')
-rw-r--r--wqflask/utility/startup_config.py2
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))