Commit a052ac81 authored by GuangHongwei's avatar GuangHongwei

[Bugfix] 注释掉配置,影响登陆

parent 831ac60e
...@@ -72,9 +72,11 @@ class Config: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment