feat: 增加系统设置(安全)控制第三方认证用户是否进行MFA认证

This commit is contained in:
Michael Bai 2022-02-08 17:33:55 +08:00 committed by 老广
parent da14abc83b
commit 1d9eddb11f
2 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export default {
// auth
const removeFields = [
'AUTH_CAS', 'AUTH_OPENID', 'AUTH_WECOM', 'AUTH_DINGTALK',
'AUTH_FEISHU', 'AUTH_RADIUS', 'AUTH_SSO'
'AUTH_FEISHU', 'AUTH_RADIUS', 'AUTH_SSO', 'AUTH_SAML2'
]
for (const i of removeFields) {
delete data[i]

View File

@ -41,6 +41,7 @@ export default {
[
'SECURITY_MFA_AUTH',
'SECURITY_MFA_IN_LOGIN_PAGE',
'SECURITY_MFA_AUTH_ENABLED_TO_THIRD_PARTY',
'SECURITY_LOGIN_CHALLENGE_ENABLED',
'SECURITY_LOGIN_CAPTCHA_ENABLED',
'SECURITY_PASSWORD_EXPIRATION_TIME',