Sign in form best practice
This should enable the registration app to set a new-password autocomplete field.
This commit is contained in:
parent
5fb909faa5
commit
5ae81ab0b1
|
@ -60,7 +60,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
name="user"
|
name="user"
|
||||||
autocapitalize="off"
|
autocapitalize="off"
|
||||||
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
|
:autocomplete="autoCompleteAllowed ? 'username' : '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
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
:type="passwordInputType"
|
:type="passwordInputType"
|
||||||
class="password-with-toggle"
|
class="password-with-toggle"
|
||||||
name="password"
|
name="password"
|
||||||
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
|
:autocomplete="autoCompleteAllowed ? 'current-password' : 'off'"
|
||||||
:placeholder="t('core', 'Password')"
|
:placeholder="t('core', 'Password')"
|
||||||
:aria-label="t('core', 'Password')"
|
:aria-label="t('core', 'Password')"
|
||||||
required>
|
required>
|
||||||
|
|
Loading…
Reference in New Issue