Created
October 26, 2017 05:57
-
-
Save mshk/858e0d6586bae1900613a57e41873653 to your computer and use it in GitHub Desktop.
Firebase Auth Sample
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
handleEmailSineup(event) { | |
firebaseAuth() | |
.createUserWithEmailAndPassword(this.state.emailField, this.state.passwordField) | |
.catch(function (error) { | |
if (error) { | |
console.error('Error(' + error.code + '): ' + error.message); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment