mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
perf: 修改ldap密码不是必填
This commit is contained in:
@@ -52,11 +52,6 @@ export default {
|
||||
rules.Required
|
||||
]
|
||||
},
|
||||
AUTH_LDAP_BIND_PASSWORD: {
|
||||
rules: [
|
||||
rules.Required
|
||||
]
|
||||
},
|
||||
AUTH_LDAP_SEARCH_OU: {
|
||||
rules: [
|
||||
rules.Required
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user