Compare commits

...

1 Commits

Author SHA1 Message Date
kevin147147 5ae81ab0b1
Sign in form best practice
This should enable the registration app to set a new-password autocomplete field.
2021-04-01 18:38:57 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
type="text"
name="user"
autocapitalize="off"
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
:autocomplete="autoCompleteAllowed ? 'username' : 'off'"
:placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')"
required
@ -75,7 +75,7 @@
:type="passwordInputType"
class="password-with-toggle"
name="password"
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
:autocomplete="autoCompleteAllowed ? 'current-password' : 'off'"
:placeholder="t('core', 'Password')"
:aria-label="t('core', 'Password')"
required>