From a052ac81171ebadf79eef62385344abe4e6c3cb7 Mon Sep 17 00:00:00 2001 From: GuangHongwei Date: Thu, 11 May 2017 19:41:13 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=20=E6=B3=A8=E9=87=8A=E6=8E=89=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E5=BD=B1=E5=93=8D=E7=99=BB=E9=99=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_example.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config_example.py b/config_example.py index 92a2bd43b..770762f35 100644 --- a/config_example.py +++ b/config_example.py @@ -72,9 +72,11 @@ class Config: # Api token expiration when create TOKEN_EXPIRATION = 3600 - # Session and csrf domain settings - SESSION_COOKIE_DOMAIN = '.jms.com' - CSRF_COOKIE_DOMAIN = '.jms.com' + # Session and csrf domain settings, If you deploy jumpserver,coco,luna standby, + # So than share cookie, and you need use a same top-level domain name + + # SESSION_COOKIE_DOMAIN = '.jms.com' + # CSRF_COOKIE_DOMAIN = '.jms.com' SESSION_COOKIE_AGE = 3600*24 # Email SMTP setting, we only support smtp send mail