kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
RegistrationForm: prevent small error with password matching
rodzic
f51f3309a2
commit
def3c542c0
|
@ -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 });
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue