MCPcopy Create free account
hub / github.com/firebase/quickstart-js / updateSignInFormUI

Function updateSignInFormUI

auth/phone-invisible.ts:202–209  ·  view source on GitHub ↗

* Updates the state of the Sign-in form.

()

Source from the content-addressed store, hash-verified

200 * Updates the state of the Sign-in form.
201 */
202function updateSignInFormUI() {
203 if (auth.currentUser || window.confirmationResult) {
204 signInForm.style.display = 'none';
205 } else {
206 resetReCaptcha();
207 signInForm.style.display = 'block';
208 }
209}
210
211/**
212 * Updates the state of the Verify code form.

Callers 3

onSignInSubmitFunction · 0.70
cancelVerificationFunction · 0.70
phone-invisible.tsFile · 0.70

Calls 1

resetReCaptchaFunction · 0.70

Tested by

no test coverage detected