Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // axios
- // .post(baseURL + '/auth/local/register', {
- // username: username,
- // email: email,
- // password: password
- // })
- // .then(response => {
- // window.localStorage.setItem('jwt', response.data.jwt);
- // if (response.statusText === 'OK') {
- // this.setState(() => ({
- // toDashboard: true
- // }));
- // }
- // })
- // .catch(() => {});
Add Comment
Please, Sign In to add comment