Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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