diff --git a/ui/src/views/authentication/component/LDAP.vue b/ui/src/views/authentication/component/LDAP.vue index 2f8c94437..3b58a8a46 100644 --- a/ui/src/views/authentication/component/LDAP.vue +++ b/ui/src/views/authentication/component/LDAP.vue @@ -27,10 +27,7 @@ :placeholder="$t('views.system.authentication.ldap.bindDNPlaceholder')" /> - + { if (valid) { if (test) { authApi.postAuthSetting(form.value, loading).then((res) => { - MsgSuccess(t('views.system.testFailed')) + MsgSuccess(t('views.system.testSuccess')) }) } else { authApi.putAuthSetting(form.value.auth_type, form.value, loading).then((res) => {