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

Function updateSignInFormUI

auth/phone-visible.ts:218–225  ·  view source on GitHub ↗

* Updates the state of the Sign-in form.

()

Source from the content-addressed store, hash-verified

216 * Updates the state of the Sign-in form.
217 */
218function updateSignInFormUI() {
219 if (auth.currentUser || window.confirmationResult) {
220 signInForm.style.display = 'none';
221 } else {
222 resetReCaptcha();
223 signInForm.style.display = 'block';
224 }
225}
226
227/**
228 * Updates the state of the Verify code form.

Callers 3

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

Calls 1

resetReCaptchaFunction · 0.70

Tested by

no test coverage detected