Commit 4afa1ada authored by Florent Chehab's avatar Florent Chehab
Browse files

Session expire added

parent 18ec378f
...@@ -50,7 +50,6 @@ MIDDLEWARE = [ ...@@ -50,7 +50,6 @@ MIDDLEWARE = [
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'general_site.middleware.LoginRequiredMiddleware', 'general_site.middleware.LoginRequiredMiddleware',
] ]
LOGIN_URL = 'accounts/login' LOGIN_URL = 'accounts/login'
...@@ -69,6 +68,8 @@ CAS_RENAME_ATTRIBUTES={ ...@@ -69,6 +68,8 @@ CAS_RENAME_ATTRIBUTES={
'sn':'last_name' 'sn':'last_name'
} }
SESSION_EXPIRE_AT_BROWSER_CLOSE=True
ROOT_URLCONF = 'general_site.urls' ROOT_URLCONF = 'general_site.urls'
TEMPLATES = [ TEMPLATES = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment