Merge branch 'registration-form-password-fix' into 'develop'
RegistrationForm: prevent small error with password matching See merge request soapbox-pub/soapbox-fe!863
This commit is contained in:
commit
6871db26c4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class RegistrationForm extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
onPasswordConfirmChange = e => {
|
onPasswordConfirmChange = e => {
|
||||||
const password = this.state.params.get('password');
|
const password = this.state.params.get('password', '');
|
||||||
const passwordConfirmation = e.target.value;
|
const passwordConfirmation = e.target.value;
|
||||||
this.setState({ passwordConfirmation });
|
this.setState({ passwordConfirmation });
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue