packages/auth/demo/public/script.js
function onSignInWithEmailAndPassword() {
  var email = $('#signin-email').val();
  var password = $('#signin-password').val();
  auth.signInWithEmailAndPassword(email, password)
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onSignInWithEmailAndPassword() {
  var email = $('#signin-email').val();
  var password = $('#signin-password').val();
  auth.signInWithEmailAndPassword(email, password)
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onSignInWithEmailAndPassword ( ) { var email = $ ( '#signin-email' ) . val ( ) ; var password = $ ( '#signin-password' ) . val ( ) ; auth . signInWithEmailAndPassword ( email , password ) . then ( onAuthUserCredentialSuccess , onAuthError ) ; }
Signs in a user with an email and a password.
Signs in a user with an email and a password .