Skip to content

Commit

Permalink
[Bugfix] 注释掉配置,影响登陆
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangHongwei committed May 11, 2017
1 parent 831ac60 commit a052ac8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a052ac8

Please sign in to comment.