mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Prompt message error
--bug=1052066 --user=王孝刚 [系统设置] LDAP环境测试连接失败 https://www.tapd.cn/57709429/s/1651802
This commit is contained in:
parent
ccd23eabb1
commit
0e817e1e06
|
|
@ -27,10 +27,7 @@
|
|||
:placeholder="$t('views.system.authentication.ldap.bindDNPlaceholder')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
:label="$t('views.system.password')"
|
||||
prop="config_data.password"
|
||||
>
|
||||
<el-form-item :label="$t('views.system.password')" prop="config_data.password">
|
||||
<el-input
|
||||
v-model="form.config_data.password"
|
||||
:placeholder="$t('views.user.userForm.form.password.placeholder')"
|
||||
|
|
@ -156,7 +153,7 @@ const submit = async (formEl: FormInstance | undefined, test?: string) => {
|
|||
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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue