function onLinkWithEmailAndPassword() {
  var email = $('#link-email').val();
  var password = $('#link-password').val();
  activeUser().linkWithCredential(
      firebase.auth.EmailAuthProvider.credential(email, password))
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onLinkWithEmailAndPassword() {
  var email = $('#link-email').val();
  var password = $('#link-password').val();
  activeUser().linkWithCredential(
      firebase.auth.EmailAuthProvider.credential(email, password))
      .then(onAuthUserCredentialSuccess, onAuthError);
}
function onLinkWithEmailAndPassword ( ) { var email = $ ( '#link-email' ) . val ( ) ; var password = $ ( '#link-password' ) . val ( ) ; activeUser ( ) . linkWithCredential ( firebase . auth . EmailAuthProvider . credential ( email , password ) ) . then ( onAuthUserCredentialSuccess , onAuthError ) ; }
Links a signed in user with an email and password account.
Links a signed in user with an email and password account .
Link with email and password