perf: 修改ldap密码不是必填

This commit is contained in:
ibuler
2021-10-19 10:28:15 +08:00
committed by 老广
parent f7fb35e625
commit 761eb0c3b1
2 changed files with 1 additions and 6 deletions

View File

@@ -52,11 +52,6 @@ export default {
rules.Required
]
},
AUTH_LDAP_BIND_PASSWORD: {
rules: [
rules.Required
]
},
AUTH_LDAP_SEARCH_OU: {
rules: [
rules.Required

View File

@@ -78,7 +78,7 @@ export default {
},
SECURITY_MFA_IN_LOGIN_PAGE: {
hidden: (form) => {
return form['SECURITY_MFA_AUTH'] !== 1
return form['SECURITY_MFA_AUTH'] !== 1 || !this.$store.getters.hasValidLicense
},
on: {
change: ([val], updateForm) => {