Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
a052ac81
Commit
a052ac81
authored
May 11, 2017
by
GuangHongwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] 注释掉配置,影响登陆
parent
831ac60e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
config_example.py
config_example.py
+5
-3
No files found.
config_example.py
View file @
a052ac81
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment