Merge pull request #20552 from liamjack/fix/20551/login_username_autocapitalize

Disable autocapitalize for username field on login / reset password pages
This commit is contained in:
Roeland Jago Douma 2020-04-21 15:43:46 +02:00 committed by GitHub
commit 613f0f2c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -59,6 +59,7 @@
v-model="user" v-model="user"
type="text" type="text"
name="user" name="user"
autocapitalize="off"
:autocomplete="autoCompleteAllowed ? 'on' : 'off'" :autocomplete="autoCompleteAllowed ? 'on' : 'off'"
:placeholder="t('core', 'Username or email')" :placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')" :aria-label="t('core', 'Username or email')"

View File

@ -27,6 +27,7 @@
v-model="user" v-model="user"
type="text" type="text"
name="user" name="user"
autocapitalize="off"
:placeholder="t('core', 'Username or email')" :placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')" :aria-label="t('core', 'Username or email')"
required required