-1
Does anyone know how we can edit the login data of any user, registered in Firebase by firebase.auth(). createUserWithEmailAndPassword, via an admin panel other than Firebase itself? That is, how can I edit another user’s data in Firebase?
-1
Does anyone know how we can edit the login data of any user, registered in Firebase by firebase.auth(). createUserWithEmailAndPassword, via an admin panel other than Firebase itself? That is, how can I edit another user’s data in Firebase?
0
You can edit user information like this:
var user = firebase.auth().currentUser;
user.updateProfile({
displayName: "Jane Q. User",
photoURL: "https://example.com/jane-q-user/profile.jpg"
}).then(function() {
// Update successful.
}, function(error) {
// An error happened.
});
If you want to change login:
var user = firebase.auth().currentUser;
user.updateEmail("[email protected]").then(function() {
// Update successful.
}, function(error) {
// An error happened.
});
Reference: https://firebase.google.com/docs/auth/web/manage-users?hl=pt-br
Browser other questions tagged javascript angularjs firebase
You are not signed in. Login or sign up in order to post.