diff --git a/app/soapbox/features/auth_login/components/registration_form.js b/app/soapbox/features/auth_login/components/registration_form.js index 86e5812ff..a4c52ef62 100644 --- a/app/soapbox/features/auth_login/components/registration_form.js +++ b/app/soapbox/features/auth_login/components/registration_form.js @@ -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 });