sforkowany z mirror/soapbox
Merge branch 'registration-form-password-fix' into 'develop'
RegistrationForm: prevent small error with password matching See merge request soapbox-pub/soapbox-fe!863features-override
commit
6871db26c4
|
@ -90,7 +90,7 @@ class RegistrationForm extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
onPasswordConfirmChange = e => {
|
||||
const password = this.state.params.get('password');
|
||||
const password = this.state.params.get('password', '');
|
||||
const passwordConfirmation = e.target.value;
|
||||
this.setState({ passwordConfirmation });
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue