Skip to content

Instantly share code, notes, and snippets.

@michaelnagy
Created February 20, 2017 13:48
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 michaelnagy/6f57d7e58bc933daba97c6becfb500ca to your computer and use it in GitHub Desktop.
Save michaelnagy/6f57d7e58bc933daba97c6becfb500ca to your computer and use it in GitHub Desktop.
signup = async (email, pass) => {
try {
result = await firebase.auth()
.createUserWithEmailAndPassword(email, pass);
console.log(result.email);
}
catch (error) {
console.log(error.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment