mirror of https://github.com/jumpserver/jumpserver
perf: 恢复 tickets
parent
622bef07ad
commit
60af7a4e62
|
@ -387,6 +387,8 @@ class Config(dict):
|
||||||
'FTP_LOG_KEEP_DAYS': 200,
|
'FTP_LOG_KEEP_DAYS': 200,
|
||||||
'CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS': 30,
|
'CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS': 30,
|
||||||
|
|
||||||
|
'TICKETS_ENABLED': True,
|
||||||
|
|
||||||
# 废弃的
|
# 废弃的
|
||||||
'DEFAULT_ORG_SHOW_ALL_USERS': True,
|
'DEFAULT_ORG_SHOW_ALL_USERS': True,
|
||||||
'ORG_CHANGE_TO_URL': '',
|
'ORG_CHANGE_TO_URL': '',
|
||||||
|
|
|
@ -119,6 +119,7 @@ CHANGE_AUTH_PLAN_SECURE_MODE_ENABLED = CONFIG.CHANGE_AUTH_PLAN_SECURE_MODE_ENABL
|
||||||
|
|
||||||
DATETIME_DISPLAY_FORMAT = '%Y-%m-%d %H:%M:%S'
|
DATETIME_DISPLAY_FORMAT = '%Y-%m-%d %H:%M:%S'
|
||||||
|
|
||||||
|
TICKETS_ENABLED = CONFIG.TICKETS_ENABLED
|
||||||
REFERER_CHECK_ENABLED = CONFIG.REFERER_CHECK_ENABLED
|
REFERER_CHECK_ENABLED = CONFIG.REFERER_CHECK_ENABLED
|
||||||
|
|
||||||
CONNECTION_TOKEN_ENABLED = CONFIG.CONNECTION_TOKEN_ENABLED
|
CONNECTION_TOKEN_ENABLED = CONFIG.CONNECTION_TOKEN_ENABLED
|
||||||
|
|
|
@ -56,6 +56,7 @@ class PublicSettingApi(generics.RetrieveAPIView):
|
||||||
# Performance
|
# Performance
|
||||||
"LOGIN_TITLE": self.get_login_title(),
|
"LOGIN_TITLE": self.get_login_title(),
|
||||||
"LOGO_URLS": self.get_logo_urls(),
|
"LOGO_URLS": self.get_logo_urls(),
|
||||||
|
"TICKETS_ENABLED": settings.TICKETS_ENABLED,
|
||||||
"HELP_DOCUMENT_URL": settings.HELP_DOCUMENT_URL,
|
"HELP_DOCUMENT_URL": settings.HELP_DOCUMENT_URL,
|
||||||
"HELP_SUPPORT_URL": settings.HELP_SUPPORT_URL,
|
"HELP_SUPPORT_URL": settings.HELP_SUPPORT_URL,
|
||||||
# Auth
|
# Auth
|
||||||
|
|
Loading…
Reference in New Issue