RegistrationForm: Refresh Captcha on registration fail

stable/1.0.x
Alex Gleason 2020-05-29 15:06:14 -05:00
rodzic 78732d8d43
commit c932872727
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -48,6 +48,7 @@ class RegistrationForm extends ImmutablePureComponent {
this.setState({ submissionLoading: true });
this.props.dispatch(register(this.state.params.toJS())).catch(error => {
this.setState({ submissionLoading: false });
this.refreshCaptcha();
});
}