When we changed auth to use basic http auth, we also changed the session timeout time to 12 hours, from the default 2 weeks. I see no need to use a non-default setting; changing this back.

- Legacy-Id: 7605
This commit is contained in:
Henrik Levkowetz 2014-04-12 20:40:31 +00:00
parent e2fc50da52
commit b448ac4da0

View file

@ -126,7 +126,7 @@ LOGGING['handlers']['mail_admins']['filters'] += [ 'skip_suspicious_operations'
# End logging
# ------------------------------------------------------------------------
SESSION_COOKIE_AGE = 43200 # 12 hours
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds: 2 weeks.
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'