How to use sendPasswordResetEmail?
I see in this link sendPasswordResetEmail but somehow it's not supported when I use:
this.af.auth.sendPasswordResetEmail({
"email": email
});
Any examples, or is this not yet implemented?
Closed as per https://github.com/angular/angularfire2/pull/195
@julienevano using this code
import { AngularFire, AngularFireAuth } from 'angularfire2'; import { Injectable } from '@angular/core'; //import * as firebase from "firebase"; //declare var firebase: any;
@Injectable() export class AuthService { firebaseAuth: AngularFireAuth;
constructor(private _AngularFire: AngularFire) { this.firebaseAuth = _AngularFire.auth; }
resetPassword(email: string): Promise
console error --> Q {code: "auth/internal-error", message: "17"}
Looks like this can be closed as the answer can be found here: https://github.com/angular/angularfire2/issues/220#issuecomment-235373945
@Splaktar using #220 but console errror...
POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/getOobConfirmationCode?key=AIza 503 login.ts:30 failed Error: 17