Angularfire: Reset Password

Created on 30 Aug 2016  路  4Comments  路  Source: angular/angularfire

Please, can anyone tell me how to send reset password email? Thank you.

Most helpful comment

Please refrain from cross posting in multiple issues. The original closed issue says to use the regular SDK.

var auth = firebase.auth();
var emailAddress = "[email protected]";

auth.sendPasswordResetEmail(emailAddress).then(function() {
  // Email sent.
}, function(error) {
  // An error happened.
});

All 4 comments

Please refrain from cross posting in multiple issues. The original closed issue says to use the regular SDK.

var auth = firebase.auth();
var emailAddress = "[email protected]";

auth.sendPasswordResetEmail(emailAddress).then(function() {
  // Email sent.
}, function(error) {
  // An error happened.
});

how to use regular SDK.with angularfire2?

@rashnk import it like this import * as firebase from 'firebase';

See #374

Where is the function to send a code to reset the password??
I can see that "confirmPasswordReset(code, newPassword)" but without a function to send the reset code, don't make sense ....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StephenFluin picture StephenFluin  路  3Comments

avanderbergh picture avanderbergh  路  3Comments

Leanvitale picture Leanvitale  路  3Comments

mypark picture mypark  路  3Comments

harrylincoln picture harrylincoln  路  3Comments