Merge branch 'phone-mask' of https://github.com/senaduka/svijetlastrana-front into phone-mask

This commit is contained in:
GotPPay
2018-06-01 15:38:10 +02:00

View File

@@ -160,6 +160,9 @@ class SignUp extends React.Component {
"pass": this.state.pass,
};
console.log(user);
return;
Instance.setToken(null).post('/v1/selfregister/', user).then(function (res) {
localStorage.removeItem('loggedUser');
location.href = '/#/login';