We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc441e commit 4838a5bCopy full SHA for 4838a5b
suggestclasses/settings.py
@@ -33,8 +33,10 @@
33
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'testserver']
34
DOMAINS_WHITELIST = ALLOWED_HOSTS
35
36
-SESSION_COOKIE_AGE = 15 * 60 # 15 minutos
+SESSION_COOKIE_AGE = 60 * 60 * 12 # 12 horas
37
SESSION_COOKIE_SECURE = True
38
+SESSION_EXPIRE_AT_BROWSER_CLOSE = True
39
+SESSION_COOKIE_PATH = '/core'
40
41
# Redirect to home URL after login (Default redirects to /accounts/profile/)
42
LOGIN_REDIRECT_URL = '/core'
0 commit comments