Skip to content

Commit b348c36

Browse files
authored
feat: add name attrs to login inputs for password managers to recognize (#8953)
1 parent 6ae150b commit b348c36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/views/login/components/login-form.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
</div>
7373
<el-form-item prop="name" class="no-border">
7474
<el-input
75+
name="username"
7576
v-model.trim="loginForm.name"
7677
:placeholder="$t('commons.login.username')"
7778
class="form-input"
@@ -85,6 +86,7 @@
8586
</el-form-item>
8687
<el-form-item prop="password" class="no-border">
8788
<el-input
89+
name="password"
8890
type="password"
8991
clearable
9092
v-model.trim="loginForm.password"

0 commit comments

Comments
 (0)