* Sends an email verification to the current user.
()
| 157 | * Sends an email verification to the current user. |
| 158 | */ |
| 159 | function 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. |
nothing calls this directly
no test coverage detected