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:
parent
b4eea05bd3
commit
bff0f8ec5d
@ -176,8 +176,6 @@ class PasswordManager extends Component {
|
|||||||
defaultMessage='current password' />
|
defaultMessage='current password' />
|
||||||
}
|
}
|
||||||
onChange={ this.onEditCurrentPassword }
|
onChange={ this.onEditCurrentPassword }
|
||||||
onSubmit={ this.changePassword }
|
|
||||||
submitOnBlur={ false }
|
|
||||||
type='password' />
|
type='password' />
|
||||||
<Input
|
<Input
|
||||||
disabled={ busy }
|
disabled={ busy }
|
||||||
@ -192,8 +190,6 @@ class PasswordManager extends Component {
|
|||||||
defaultMessage='(optional) new password hint' />
|
defaultMessage='(optional) new password hint' />
|
||||||
}
|
}
|
||||||
onChange={ this.onEditNewPasswordHint }
|
onChange={ this.onEditNewPasswordHint }
|
||||||
onSubmit={ this.changePassword }
|
|
||||||
submitOnBlur={ false }
|
|
||||||
value={ passwordHint } />
|
value={ passwordHint } />
|
||||||
<div className={ styles.passwords }>
|
<div className={ styles.passwords }>
|
||||||
<div className={ styles.password }>
|
<div className={ styles.password }>
|
||||||
|
Loading…
Reference in New Issue
Block a user