Created
October 26, 2017 06:19
-
-
Save mshk/c6391b5731a7f61660b7a1401c6f4c23 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
handleEmailLogin(event) { | |
firebaseAuth() | |
.signInWithEmailAndPassword(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