MCPcopy Index your code
hub / github.com/firebase/quickstart-js / sendPasswordReset

Function sendPasswordReset

auth/mfa-password.ts:172–179  ·  view source on GitHub ↗

* Sends a password reset email to the user.

()

Source from the content-addressed store, hash-verified

170 * Sends a password reset email to the user.
171 */
172function sendPasswordReset() {
173 const email = emailInput.value;
174 sendPasswordResetEmail(auth, email)
175 .then(function () {
176 alertMessage('Password Reset Email Sent!');
177 })
178 .catch(displayError);
179}
180
181/**
182 * Updates the multi-factor dialog UI for enrollment/sign-in flows.

Callers

nothing calls this directly

Calls 1

alertMessageFunction · 0.85

Tested by

no test coverage detected