diff --git a/confidant/app.py b/confidant/app.py index f3906b09..63a9b16e 100644 --- a/confidant/app.py +++ b/confidant/app.py @@ -24,7 +24,7 @@ if app.config.get('REDIS_URL'): import redis - from flask.ext.session import Session + from flask_session import Session app.config['SESSION_REDIS'] = redis.Redis.from_url( app.config['REDIS_URL'] ) diff --git a/confidant/public/modules/resources/controllers/CredentialDetailsCtrl.js b/confidant/public/modules/resources/controllers/CredentialDetailsCtrl.js index b5c33eb1..07de4f4e 100644 --- a/confidant/public/modules/resources/controllers/CredentialDetailsCtrl.js +++ b/confidant/public/modules/resources/controllers/CredentialDetailsCtrl.js @@ -79,9 +79,9 @@ $scope.shown = true; } - $scope.groups = function(usergroups) { - return [""].concat(usergroups); - } + $scope.groups = function(usergroups) { + return [""].concat(usergroups); + } $scope.showValue = function(credentialPair) { if (credentialPair.shown) { diff --git a/requirements.in b/requirements.in index f120e646..d6045fed 100644 --- a/requirements.in +++ b/requirements.in @@ -48,7 +48,7 @@ cffi>1.10.0 # License: BSD # Upstream url: https://github.com/fengsp/flask-session # Use: For shared sessions -Flask-Session==0.2.1 +Flask-Session==0.2.3 # Redis # License: MIT diff --git a/requirements.txt b/requirements.txt index edfdd57b..54097f0b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ entrypoints==0.3 # via flake8 enum34==1.1.6 flake8==3.7.8 flask-script==2.0.5 -flask-session==0.2.1 +flask-session==0.2.3 flask-sslify==0.1.5 flask==1.1.1 funcsigs==1.0.2 # via mock diff --git a/requirements3.txt b/requirements3.txt index 6eaa4726..39567350 100644 --- a/requirements3.txt +++ b/requirements3.txt @@ -16,11 +16,11 @@ docutils==0.15.2 # via botocore entrypoints==0.3 # via flake8 flake8==3.7.8 flask-script==2.0.5 -flask-session==0.2.1 +flask-session==0.2.3 flask-sslify==0.1.5 flask==1.1.1 -gevent==1.2.1 -greenlet==0.4.12 +gevent==1.4.0 # force this version for py3.7 +greenlet==0.4.15 # force this version for py3.7 guard==1.0.1 gunicorn==19.9.0 idna==2.8 # via requests