Created
September 28, 2018 06:02
-
-
Save tanvirraj/c23923d5016eec3d6d5ecbe6235d8faa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(() => {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment