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

Function sendEmailVerificationToUser

auth/mfa-password.ts:159–167  ·  view source on GitHub ↗

* Sends an email verification to the current user.

()

Source from the content-addressed store, hash-verified

157 * Sends an email verification to the current user.
158 */
159function sendEmailVerificationToUser() {
160 if (auth.currentUser) {
161 sendEmailVerification(auth.currentUser)
162 .then(function () {
163 alertMessage('Email Verification Sent!');
164 })
165 .catch(displayError);
166 }
167}
168
169/**
170 * Sends a password reset email to the user.

Callers

nothing calls this directly

Calls 1

alertMessageFunction · 0.85

Tested by

no test coverage detected