* Creates a user with email and password.
()
| 132 | * Creates a user with email and password. |
| 133 | */ |
| 134 | function 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. |
nothing calls this directly
no test coverage detected