[Update] 添加改密计划安全模式配置项

pull/4123/head
Bai 2020-06-19 20:41:51 +08:00
parent fb9ac54843
commit 29666cc8d3
2 changed files with 4 additions and 1 deletions

View File

@ -256,7 +256,8 @@ class Config(dict):
'FORCE_SCRIPT_NAME': '',
'LOGIN_CONFIRM_ENABLE': False,
'WINDOWS_SKIP_ALL_MANUAL_PASSWORD': False,
'ORG_CHANGE_TO_URL': ''
'ORG_CHANGE_TO_URL': '',
'CHANGE_AUTH_PLAN_ENABLE_SECURE_MODE': True
}
def compatible_auth_openid_of_key(self):

View File

@ -85,3 +85,5 @@ LOGIN_LOG_KEEP_DAYS = DYNAMIC.LOGIN_LOG_KEEP_DAYS
TASK_LOG_KEEP_DAYS = CONFIG.TASK_LOG_KEEP_DAYS
ORG_CHANGE_TO_URL = CONFIG.ORG_CHANGE_TO_URL
WINDOWS_SKIP_ALL_MANUAL_PASSWORD = CONFIG.WINDOWS_SKIP_ALL_MANUAL_PASSWORD
CHANGE_AUTH_PLAN_ENABLE_SECURE_MODE = CONFIG.CHANGE_AUTH_PLAN_ENABLE_SECURE_MODE