fix: 修复用户自动登录bug

pull/8709/head
feng626 2022-08-08 11:28:38 +08:00 committed by Jiangjie.Bai
parent 9e9190aed5
commit 07caaa5e46
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class Config(dict):
'SESSION_COOKIE_DOMAIN': None,
'CSRF_COOKIE_DOMAIN': None,
'SESSION_COOKIE_NAME_PREFIX': None,
'SESSION_COOKIE_AGE': 3600,
'SESSION_COOKIE_AGE': 3600 * 24,
'SESSION_EXPIRE_AT_BROWSER_CLOSE': False,
'LOGIN_URL': reverse_lazy('authentication:login'),
'CONNECTION_TOKEN_EXPIRATION': 5 * 60,