From 7809d7cc2f249bac27463e20d49ea61b9ffe22e3 Mon Sep 17 00:00:00 2001 From: guhan121 Date: Tue, 6 Apr 2021 15:41:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BB=E5=BD=95):ldap=E5=90=AF=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E9=BB=98=E8=AE=A4=E9=80=89=E6=8B=A9ldap=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/login/Login.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/login/Login.vue b/frontend/src/login/Login.vue index 4ef3406a7b..6a108138fc 100644 --- a/frontend/src/login/Login.vue +++ b/frontend/src/login/Login.vue @@ -118,6 +118,9 @@ export default { }); this.$get("/ldap/open", response => { this.openLdap = response.data; + if (this.openLdap){ + this.form.authenticate = 'LDAP'; + } }) }, created: function () {