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

Session expire added

parent 18ec378f
......@@ -50,7 +50,6 @@ MIDDLEWARE = [
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'general_site.middleware.LoginRequiredMiddleware',
]
LOGIN_URL = 'accounts/login'
......@@ -69,6 +68,8 @@ CAS_RENAME_ATTRIBUTES={
'sn':'last_name'
}
SESSION_EXPIRE_AT_BROWSER_CLOSE=True
ROOT_URLCONF = 'general_site.urls'
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