mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 注释掉配置,影响登陆
parent
831ac60e25
commit
a052ac8117
|
@ -72,9 +72,11 @@ class Config:
|
||||||
# Api token expiration when create
|
# Api token expiration when create
|
||||||
TOKEN_EXPIRATION = 3600
|
TOKEN_EXPIRATION = 3600
|
||||||
|
|
||||||
# Session and csrf domain settings
|
# Session and csrf domain settings, If you deploy jumpserver,coco,luna standby,
|
||||||
SESSION_COOKIE_DOMAIN = '.jms.com'
|
# So than share cookie, and you need use a same top-level domain name
|
||||||
CSRF_COOKIE_DOMAIN = '.jms.com'
|
|
||||||
|
# SESSION_COOKIE_DOMAIN = '.jms.com'
|
||||||
|
# CSRF_COOKIE_DOMAIN = '.jms.com'
|
||||||
SESSION_COOKIE_AGE = 3600*24
|
SESSION_COOKIE_AGE = 3600*24
|
||||||
|
|
||||||
# Email SMTP setting, we only support smtp send mail
|
# Email SMTP setting, we only support smtp send mail
|
||||||
|
|
Loading…
Reference in New Issue