Fix autocomplete issue in Chrome. Fixes #7666 (#7802)

Signed-off-by: richardgrey <richie.grey@gmail.com>
This commit is contained in:
Igor Nikolenko 2020-09-15 11:47:04 +04:00 committed by GitHub
parent d7ba1c2a3b
commit 6a937a995f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -28,11 +28,13 @@ const form = {
label: 'Auth.form.username.label', label: 'Auth.form.username.label',
placeholder: 'e.g. John_Doe', placeholder: 'e.g. John_Doe',
type: 'text', type: 'text',
autoComplete: 'no',
validations: {}, validations: {},
}, },
password: { password: {
label: 'Auth.form.password.label', label: 'Auth.form.password.label',
type: 'password', type: 'password',
autoComplete: 'new-password',
validations: {}, validations: {},
}, },
confirmPassword: { confirmPassword: {

View File

@ -28,11 +28,13 @@ const form = {
label: 'Auth.form.username.label', label: 'Auth.form.username.label',
placeholder: 'e.g. John_Doe', placeholder: 'e.g. John_Doe',
type: 'text', type: 'text',
autoComplete: 'no',
validations: {}, validations: {},
}, },
password: { password: {
label: 'Auth.form.password.label', label: 'Auth.form.password.label',
type: 'password', type: 'password',
autoComplete: 'new-password',
validations: {}, validations: {},
}, },
confirmPassword: { confirmPassword: {