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

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

View File

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