Answers for "how to change user password firebase"

4

how to change user password firebase

var user = firebase.auth().currentUser;
var newPassword = getASecureRandomPassword();

user.updatePassword(newPassword).then(function() {
  // Update successful.
}).catch(function(error) {
  // An error happened.
});
Posted by: Guest on December-06-2020

Code answers related to "how to change user password firebase"

Code answers related to "Javascript"

Browse Popular Code Answers by Language