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

Function passwordSignUp

auth/mfa-password.ts:134–143  ·  view source on GitHub ↗

* Creates a user with email and password.

()

Source from the content-addressed store, hash-verified

132 * Creates a user with email and password.
133 */
134function passwordSignUp() {
135 const email = emailInput.value;
136 const password = passwordInput.value;
137 // Sign up with email and password.
138 createUserWithEmailAndPassword(auth, email, password)
139 .then(function () {
140 alertMessage('New user created!');
141 })
142 .catch(displayError);
143}
144
145/**
146 * Signs out the current user.

Callers

nothing calls this directly

Calls 1

alertMessageFunction · 0.85

Tested by

no test coverage detected