feat(登录):ldap启用时默认选择ldap登录方式
This commit is contained in:
parent
71c3e92332
commit
439dc08808
|
@ -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