packages/auth/demo/public/script.js
function onSendSignInLinkToEmail() {
  var email = $('#sign-in-with-email-link-email').val();
  auth.sendSignInLinkToEmail(email, getActionCodeSettings()).then(function() {
    alertSuccess('Email sent!');
  }, onAuthError);
}
function onSendSignInLinkToEmail() {
  var email = $('#sign-in-with-email-link-email').val();
  auth.sendSignInLinkToEmail(email, getActionCodeSettings()).then(function() {
    alertSuccess('Email sent!');
  }, onAuthError);
}
function onSendSignInLinkToEmail ( ) { var email = $ ( '#sign-in-with-email-link-email' ) . val ( ) ; auth . sendSignInLinkToEmail ( email , getActionCodeSettings ( ) ) . then ( function ( ) { alertSuccess ( 'Email sent!' ) ; } , onAuthError ) ; }
Sends sign in with email link to the user.
Sends sign in with email link to the user .