code: function onSendPasswordResetEmail() {
    var email = $('#password-reset-email').val();
    auth.sendPasswordResetEmail(email, getActionCodeSettings()).then(function() {
      alertSuccess('Email sent!');
    }, onAuthError);
  }
docs: Sends password reset email to the user.