Upstream sync
This commit is contained in:
@@ -54,8 +54,7 @@ class SignUp extends React.Component {
|
||||
this.clickEvent = this.clickEvent.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount = () => {
|
||||
}
|
||||
componentDidMount = () => { }
|
||||
|
||||
buttonValidated = () => {
|
||||
let validated = true;
|
||||
@@ -128,7 +127,7 @@ class SignUp extends React.Component {
|
||||
"pass": this.state.pass,
|
||||
};
|
||||
|
||||
Instance.getRawConn().post('/v1/selfregister/', user).then(function (res) {
|
||||
Instance.setToken(null).post('/v1/selfregister/', user).then(function (res) {
|
||||
localStorage.removeItem('loggedUser');
|
||||
location.href = '/#/login';
|
||||
}).catch(function (err) {
|
||||
|
||||
Reference in New Issue
Block a user