Remove onSubmit of current (no auto-change on password edit) (#4151)

* Remove onSubmit from current password

* Remove onSubmit from hint
This commit is contained in:
Jaco Greeff 2017-01-12 15:18:16 +01:00 committed by GitHub
parent b4eea05bd3
commit bff0f8ec5d
1 changed files with 0 additions and 4 deletions

View File

@ -176,8 +176,6 @@ class PasswordManager extends Component {
defaultMessage='current password' />
}
onChange={ this.onEditCurrentPassword }
onSubmit={ this.changePassword }
submitOnBlur={ false }
type='password' />
<Input
disabled={ busy }
@ -192,8 +190,6 @@ class PasswordManager extends Component {
defaultMessage='(optional) new password hint' />
}
onChange={ this.onEditNewPasswordHint }
onSubmit={ this.changePassword }
submitOnBlur={ false }
value={ passwordHint } />
<div className={ styles.passwords }>
<div className={ styles.password }>