feat(登录):ldap启用时默认选择ldap登录方式

This commit is contained in:
guhan121 2021-04-06 15:41:27 +08:00 committed by 刘瑞斌
parent 71c3e92332
commit 439dc08808
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ export default {
}); });
this.$get("/ldap/open", response => { this.$get("/ldap/open", response => {
this.openLdap = response.data; this.openLdap = response.data;
if (this.openLdap){
this.form.authenticate = 'LDAP';
}
}) })
}, },
created: function () { created: function () {