mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
feat: 增加系统设置(安全)控制第三方认证用户是否进行MFA认证
This commit is contained in:
parent
da14abc83b
commit
1d9eddb11f
@ -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]
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user