RegistrationForm: prevent small error with password matching

merge-requests/863/head
Alex Gleason 3 years ago
parent f51f3309a2
commit def3c542c0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -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 });

Loading…
Cancel
Save