From 34d46897f8aa8d57dd844805d06efd8b55740c72 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 20 May 2021 15:55:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=91=A8=E6=9C=9F?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E4=BB=BB=E5=8A=A1=E9=85=8D=E7=BD=AE=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jumpserver/conf.py | 2 +- config_example.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/jumpserver/conf.py b/apps/jumpserver/conf.py index 7bb8dd095..68be2776b 100644 --- a/apps/jumpserver/conf.py +++ b/apps/jumpserver/conf.py @@ -279,7 +279,7 @@ class Config(dict): 'WINDOWS_SSH_DEFAULT_SHELL': 'cmd', 'FLOWER_URL': "127.0.0.1:5555", 'DEFAULT_ORG_SHOW_ALL_USERS': True, - 'PERIOD_TASK_ENABLE': True, + 'PERIOD_TASK_ENABLED': True, 'FORCE_SCRIPT_NAME': '', 'LOGIN_CONFIRM_ENABLE': False, 'WINDOWS_SKIP_ALL_MANUAL_PASSWORD': False, diff --git a/config_example.yml b/config_example.yml index c3e2ce0f5..9fa4c1814 100644 --- a/config_example.yml +++ b/config_example.yml @@ -122,7 +122,7 @@ REDIS_PORT: 6379 # USER_LOGIN_SINGLE_MACHINE_ENABLED: False # # 启用定时任务 -# PERIOD_TASK_ENABLE: True +# PERIOD_TASK_ENABLED: True # # 启用二次复合认证配置 # LOGIN_CONFIRM_ENABLE: False