Skip to content

Commit

Permalink
Fix autocomplete issue in Chrome. Fixes strapi#7666
Browse files Browse the repository at this point in the history
Signed-off-by: richardgrey <richie.grey@gmail.com>
  • Loading branch information
richardgrey committed Sep 10, 2020
1 parent cd9296b commit bc0706a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ const form = {
label: 'Auth.form.username.label',
placeholder: 'e.g. John_Doe',
type: 'text',
autoComplete: 'no',
validations: {},
},
password: {
label: 'Auth.form.password.label',
type: 'password',
autoComplete: 'new-password',
validations: {},
},
confirmPassword: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ const form = {
label: 'Auth.form.username.label',
placeholder: 'e.g. John_Doe',
type: 'text',
autoComplete: 'no',
validations: {},
},
password: {
label: 'Auth.form.password.label',
type: 'password',
autoComplete: 'new-password',
validations: {},
},
confirmPassword: {
Expand Down

0 comments on commit bc0706a

Please sign in to comment.