Merge branch 'phone-mask' of https://github.com/senaduka/svijetlastrana-front into phone-mask
This commit is contained in:
@@ -160,6 +160,9 @@ class SignUp extends React.Component {
|
|||||||
"pass": this.state.pass,
|
"pass": this.state.pass,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log(user);
|
||||||
|
return;
|
||||||
|
|
||||||
Instance.setToken(null).post('/v1/selfregister/', user).then(function (res) {
|
Instance.setToken(null).post('/v1/selfregister/', user).then(function (res) {
|
||||||
localStorage.removeItem('loggedUser');
|
localStorage.removeItem('loggedUser');
|
||||||
location.href = '/#/login';
|
location.href = '/#/login';
|
||||||
|
|||||||
Reference in New Issue
Block a user