Skip to content

Commit

Permalink
fix(cluster linking): use CustomInputPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Jan 13, 2025
1 parent 30dc4d3 commit 706a949
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@
</el-col>
<el-col :span="12">
<el-form-item :label="t('Base.password')" prop="password">
<el-input
v-model="record.password"
type="password"
autocomplete="one-time-code"
show-password
/>
<CustomInputPassword v-model="record.password" />
</el-form-item>
</el-col>
<el-col :span="15">
Expand Down
2 changes: 1 addition & 1 deletion src/views/General/components/SSOForm/LDAPForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<el-input v-model="formData.username" />
</el-form-item>
<el-form-item prop="password" :label="t('Base.password')">
<el-input type="password" v-model="formData.password" autocomplete="one-time-code" />
<CustomInputPassword v-model="formData.password" />
</el-form-item>
<el-form-item prop="base_dn" :label="tl('baseDN')">
<el-input v-model="formData.base_dn" />
Expand Down
7 changes: 1 addition & 6 deletions src/views/General/components/SSOForm/OIDCForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@
<el-input v-model="formData.clientid" />
</el-form-item>
<el-form-item prop="secret" label="Client Secret">
<el-input
v-model="formData.secret"
type="password"
show-password
autocomplete="one-time-code"
/>
<CustomInputPassword v-model="formData.secret" />
</el-form-item>
<el-form-item prop="dashboard_addr">
<template #label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
</el-col>
<el-col :span="12">
<el-form-item :label="tl('password')" prop="auth.password">
<el-input
v-model="form.auth.password"
type="password"
show-password
autocomplete="new-password"
/>
<CustomInputPassword v-model="form.auth.password" />
</el-form-item>
</el-col>
</template>
Expand Down

0 comments on commit 706a949

Please sign in to comment.