Skip to content

Commit 0e817e1

Browse files
committed
fix: Prompt message error
--bug=1052066 --user=王孝刚 [系统设置] LDAP环境测试连接失败 https://www.tapd.cn/57709429/s/1651802
1 parent ccd23ea commit 0e817e1

File tree

1 file changed

+2
-5
lines changed
  • ui/src/views/authentication/component

1 file changed

+2
-5
lines changed

ui/src/views/authentication/component/LDAP.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
:placeholder="$t('views.system.authentication.ldap.bindDNPlaceholder')"
2828
/>
2929
</el-form-item>
30-
<el-form-item
31-
:label="$t('views.system.password')"
32-
prop="config_data.password"
33-
>
30+
<el-form-item :label="$t('views.system.password')" prop="config_data.password">
3431
<el-input
3532
v-model="form.config_data.password"
3633
:placeholder="$t('views.user.userForm.form.password.placeholder')"
@@ -156,7 +153,7 @@ const submit = async (formEl: FormInstance | undefined, test?: string) => {
156153
if (valid) {
157154
if (test) {
158155
authApi.postAuthSetting(form.value, loading).then((res) => {
159-
MsgSuccess(t('views.system.testFailed'))
156+
MsgSuccess(t('views.system.testSuccess'))
160157
})
161158
} else {
162159
authApi.putAuthSetting(form.value.auth_type, form.value, loading).then((res) => {

0 commit comments

Comments
 (0)