Skip to content

Instantly share code, notes, and snippets.

@gabrielEloy
Created August 20, 2021 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielEloy/27c61def089ba8d89271aa6cfcc57153 to your computer and use it in GitHub Desktop.
Save gabrielEloy/27c61def089ba8d89271aa6cfcc57153 to your computer and use it in GitHub Desktop.
const handleRegister = () => {
const user = new Parse.User();
user.set('username', userName);
user.set('password', password);
user.signUp().then(() => {
handleLogin();
}).catch(err => alert(err.message));
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment