Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- recover() {
- this.fireauth.auth.sendPasswordResetEmail(this.email)
- .then(data => {
- console.log(data);
- this.presentToast('Password reset email sent', false, 'bottom', 1000);
- this.router.navigateByUrl('/login');
- })
- .catch(err => {
- console.log(` failed ${err}`);
- this.error = err.message;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement