Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
4afa1ada
Commit
4afa1ada
authored
Mar 31, 2018
by
Florent Chehab
Browse files
Session expire added
parent
18ec378f
Changes
1
Hide whitespace changes
Inline
Side-by-side
general_site/settings.py
View file @
4afa1ada
...
...
@@ -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
=
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment