diff --git a/apps/jumpserver/conf.py b/apps/jumpserver/conf.py index 179376828..96857d131 100644 --- a/apps/jumpserver/conf.py +++ b/apps/jumpserver/conf.py @@ -268,7 +268,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