diff --git a/src/app/modules/auth/auth.service.ts b/src/app/modules/auth/auth.service.ts index e31b210..0484367 100644 --- a/src/app/modules/auth/auth.service.ts +++ b/src/app/modules/auth/auth.service.ts @@ -115,7 +115,9 @@ export class AuthService { * @param passwordResetEmail */ forgotPassword(passwordResetEmail: string) { - return this.afAuth.sendPasswordResetEmail(passwordResetEmail) + return this.afAuth.sendPasswordResetEmail(passwordResetEmail, { + url: 'https://alexchristianqr.github.io/game-apps/#/login', + }) } /** diff --git a/src/app/modules/auth/forgot/forgot.component.ts b/src/app/modules/auth/forgot/forgot.component.ts index 5f06ec8..ba62ac9 100644 --- a/src/app/modules/auth/forgot/forgot.component.ts +++ b/src/app/modules/auth/forgot/forgot.component.ts @@ -35,13 +35,16 @@ export class ForgotComponent { .then(() => { this.submitted = undefined this.loading = false - this.snackBar.open('Enlace enviado con éxito, por favor revise su correo', '', { + this.snackBar.open('Enlace enviado con éxito, porfavor revise su correo', '', { duration: 3000, }) }) .catch(() => { this.submitted = false this.loading = false + this.snackBar.open('El enlace no se ha enviado', '', { + duration: 3000, + }) }) } }