Skip to content

Commit

Permalink
fix(replicate-user): add autocomplete="new-password" to prevent autofill
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric authored Nov 20, 2019
2 parents b5cf8fb + 4c6dda6 commit 7e71aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ReplicateUserForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class ReplicateUserForm extends Component {
label={i18n.t('Username')}
hintText={i18n.t('Username for new user')}
validate={[username]}
autoComplete="new-password"
/>
<Field
name={PASSWORD}
Expand All @@ -86,6 +87,7 @@ class ReplicateUserForm extends Component {
hintText={i18n.t('Password for new user')}
validate={[password]}
type="password"
autoComplete="new-password"
/>
<div style={{ marginTop: 16 }}>
<RaisedButton
Expand Down

0 comments on commit 7e71aab

Please sign in to comment.