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

Function updateVerifyCodeButtonUI

auth/phone-invisible.ts:195–197  ·  view source on GitHub ↗

* Updates the Verify-code button state depending on form values state.

()

Source from the content-addressed store, hash-verified

193 * Updates the Verify-code button state depending on form values state.
194 */
195function updateVerifyCodeButtonUI() {
196 verifyCodeButton.disabled = !!window.verifyingCode || !getCodeFromUserInput();
197}
198
199/**
200 * Updates the state of the Sign-in form.

Callers 2

onSignInSubmitFunction · 0.70
onVerifyCodeSubmitFunction · 0.70

Calls 1

getCodeFromUserInputFunction · 0.70

Tested by

no test coverage detected