@rafaelmoura wrote:
I’m trying add data in Authentication module and Database module through this code
createUser(user: any, path: string): Promise<any> { return firebase.auth().createUserWithEmailAndPassword(user.email, user.password) .then( newUser => { firebase.database() .ref(`/users/${path}/`) .child(newUser.uid) .set(user); }); }in other projects this work fine, but in this I don’t know, this way its sava data (email and password) only in Authentication Module but not in Database Module, whats happening, someone ?
Posts: 1
Participants: 1