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

Function updateSignInSendCodeButtonUI

auth/mfa-password.ts:541–546  ·  view source on GitHub ↗

* Updates the sign in send code button state depending on form values state.

()

Source from the content-addressed store, hash-verified

539 * Updates the sign in send code button state depending on form values state.
540 */
541function updateSignInSendCodeButtonUI() {
542 const signInSendCode = document.getElementById(
543 'sign-in-send-code-button',
544 )! as HTMLButtonElement;
545 signInSendCode.disabled = !isCaptchaOK();
546}
547
548/**
549 * Clears the application verifier.

Callers 3

updateMfaDialogFunction · 0.85
renderRecaptchaFunction · 0.85
onSignInSendCodeFunction · 0.85

Calls 1

isCaptchaOKFunction · 0.70

Tested by

no test coverage detected