Skip to content

Commit 37971b5

Browse files
author
Liam JACK
committed
Fix #20551 - Disable autocapitalize for username field on login / reset password pages
Signed-off-by: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
1 parent 64196dd commit 37971b5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

core/src/components/login/LoginForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
v-model="user"
6060
type="text"
6161
name="user"
62+
autocapitalize="off"
6263
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
6364
:placeholder="t('core', 'Username or email')"
6465
:aria-label="t('core', 'Username or email')"

core/src/components/login/ResetPassword.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
v-model="user"
2828
type="text"
2929
name="user"
30+
autocapitalize="off"
3031
:placeholder="t('core', 'Username or email')"
3132
:aria-label="t('core', 'Username or email')"
3233
required

0 commit comments

Comments
 (0)