summaryrefslogtreecommitdiffstats
path: root/accounts/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/__init__.py')
-rw-r--r--accounts/__init__.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/accounts/__init__.py b/accounts/__init__.py
index c561fe2..a86974e 100644
--- a/accounts/__init__.py
+++ b/accounts/__init__.py
@@ -43,10 +43,3 @@ def load_user(user_id):
except (current_app.user_backend.NoSuchUserError,
current_app.user_backend.InvalidPasswordError):
return None
-
-@app.before_request
-def session_permanent():
- if app.config.get('PERMANENT_SESSION_LIFETIME'):
- session.permanent = True
- else:
- session.permanent = False