Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Disable autofill for oldPassword in password form (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidxnull committed Jul 10, 2016
1 parent 225316e commit 7c43e83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/settings/password-form.js
Expand Up @@ -46,9 +46,11 @@ class PasswordForm extends React.Component {
const { fields, form } = this.props;

return (
<form action="" className="paper__page">
<form action="" className="paper__page" autoComplete={false}>
<h2 className="content__sub_title layout__row">Password</h2>

<input name="autofillWorkaround" style={{ display: 'none' }} type="password" />

<div className="layout__row">
<label className="layout__row layout__row-small" htmlFor="oldPassword">Current password</label>
<input
Expand Down

0 comments on commit 7c43e83

Please sign in to comment.