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:
Alex Gleason 2021-11-08 22:28:16 +00:00
commit 6871db26c4

View file

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