Guest User

Untitled

a guest
Sep 28th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. // axios
  2. // .post(baseURL + '/auth/local/register', {
  3. // username: username,
  4. // email: email,
  5. // password: password
  6. // })
  7. // .then(response => {
  8. // window.localStorage.setItem('jwt', response.data.jwt);
  9. // if (response.statusText === 'OK') {
  10. // this.setState(() => ({
  11. // toDashboard: true
  12. // }));
  13. // }
  14. // })
  15. // .catch(() => {});
Add Comment
Please, Sign In to add comment