Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change password firebase

var user = firebase.auth().currentUser;
 if (user.password == state.password) {
   user.updatePassword(state.password).then(function() {
    // Update successful.
  }).catch(function(error) {
    // An error happened.
  });
 }
 
PREVIOUS NEXT
Tagged: #change #password #firebase
ADD COMMENT
Topic
Name
8+5 =