The createUserWithEmailAndPassword() function returns a so-called Promise , which has methods catch() and then() . You’re already using catch() to handle problems. To handle “non-problems”, you need to use then() : firebase. auth().
The createUserWithEmailAndPassword() function returns a so-called Promise , which has methods catch() and then() . You’re already using catch() to handle problems. To handle “non-problems”, you need to use then() : firebase. auth().