Session settings
This commit is contained in:
1 parent
d02d22f52d
commit
2ef30085d6
1 file changed
+4
-1
+4
-1
@@ -153,4 +153,7 @@ LOGGING = {
|
|||||||
# User profile
|
# User profile
|
||||||
AUTH_PROFILE_MODULE = 'main.UserProfile'
|
AUTH_PROFILE_MODULE = 'main.UserProfile'
|
||||||
|
|
||||||
LOGIN_REDIRECT_URL = '/register/'
|
LOGIN_REDIRECT_URL = '/'
|
||||||
|
|
||||||
|
SESSION_COOKIE_AGE = 900 # 15 minutes
|
||||||
|
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
||||||
Reference in new issue
Block a user