Firebase reset password link code example
Example: reset password firebase auth
var auth = firebase.auth();
var emailAddress = "[email protected]";
auth.sendPasswordResetEmail(emailAddress)
.then(function() {
// Email sent.
})
.catch(function(error) {
// An error happened.
});