diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 943ac341e..551db6a4b 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -253,7 +253,6 @@ class LoginRegisterComponent extends Component { }).then((result) => { console.log(result); if(result){ - try { this.setState({ logins: "", dragOk: false, @@ -261,12 +260,8 @@ class LoginRegisterComponent extends Component { passwords: "", Agreetotheterms: "", }) - } catch (e) { - - } - }else{ - } - + this.props.history.push("/interesse"); + } }).catch((error) => { })