feat(登录):ldap启用时默认选择ldap登录方式
This commit is contained in:
parent
a6e9a27f05
commit
7809d7cc2f
|
@ -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 () {
|
||||||
|
|
Loading…
Reference in New Issue