Session settings

This commit is contained in:
nikolark committed 2014-02-05 19:45:33 +01:00
1 parent d02d22f52d
commit 2ef30085d6
1 file changed
+4 -1
+4 -1
View File
@@ -153,4 +153,7 @@ LOGGING = {
# User profile
AUTH_PROFILE_MODULE = 'main.UserProfile'
LOGIN_REDIRECT_URL = '/register/'
LOGIN_REDIRECT_URL = '/'
SESSION_COOKIE_AGE = 900 # 15 minutes
SESSION_EXPIRE_AT_BROWSER_CLOSE = True