firebase multi-location updates user authentication and database
问题 I have a Form to signup new User with email, password, full name and phone number. I can use firebase.auth().createUserWithEmailAndPassword to create new user if successfully. Then I use firebase.database().ref('users/..').set(..) to save fullname and phone number to firebase database. But If the saving processing to database occur error (By rule write:false for example), I STILL have an user Identifier created in User Authentication. So an user exist without phone number and full number. How