packages/auth/demo/public/script.js
function onSendPasswordResetEmail() {
  var email = $('#password-reset-email').val();
  auth.sendPasswordResetEmail(email, getActionCodeSettings()).then(function() {
    alertSuccess('Email sent!');
  }, onAuthError);
}
function onSendPasswordResetEmail() {
  var email = $('#password-reset-email').val();
  auth.sendPasswordResetEmail(email, getActionCodeSettings()).then(function() {
    alertSuccess('Email sent!');
  }, onAuthError);
}
function onSendPasswordResetEmail ( ) { var email = $ ( '#password-reset-email' ) . val ( ) ; auth . sendPasswordResetEmail ( email , getActionCodeSettings ( ) ) . then ( function ( ) { alertSuccess ( 'Email sent!' ) ; } , onAuthError ) ; }
Sends password reset email to the user.
Sends password reset email to the user .