Skip to content

Instantly share code, notes, and snippets.

@mshk
Created October 26, 2017 06:19
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 mshk/c6391b5731a7f61660b7a1401c6f4c23 to your computer and use it in GitHub Desktop.
Save mshk/c6391b5731a7f61660b7a1401c6f4c23 to your computer and use it in GitHub Desktop.
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