redirect login to visit page

This commit is contained in:
GotPPay
2018-05-25 15:07:15 +02:00
parent 11fe5f1c61
commit 3ca1dc2682

View File

@@ -78,7 +78,7 @@ class Login extends React.Component {
Instance.setToken(auth.token);
location.href = '/#/';
location.href = '/#/app/form/visit/' + auth.user.useruuid;
}).catch(function (err) {
state.setState(Object.assign(state.state, {
message: (err.response.data.message),