diff --git a/nsupdate/settings.py b/nsupdate/settings.py index 79d43b7..1f6e5be 100644 --- a/nsupdate/settings.py +++ b/nsupdate/settings.py @@ -254,7 +254,7 @@ SESSION_COOKIE_PATH = '/' SESSION_COOKIE_SECURE = False # use True here if you have set WE_HAVE_SSL = True SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_AGE = 14 * 24 * 3600 # 2 weeks, in seconds -SESSION_EXPIRE_AT_BROWSER_CLOSE = False +SESSION_EXPIRE_AT_BROWSER_CLOSE = True # more safe than False SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'