We will send you an email with instructions to reset your password.
-diff --git a/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts b/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts index f500b45..d5745d0 100644 --- a/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts +++ b/frontend/src/app/components/auth/forgot-password/forgot-password.component.ts @@ -5,11 +5,18 @@ import { FormsModule, NgForm } from '@angular/forms'; import { ActivatedRoute, Params, RouterLink } from '@angular/router'; import { AuthService } from '../../../services/auth.service'; import { ErrorService } from '../../../services/error.service'; +import { EmailRequestComponent } from './email-request/email-request.component'; @Component({ selector: 'app-forgot-password', standalone: true, - imports: [CommonModule, BtnLargeComponent, FormsModule, RouterLink], + imports: [ + CommonModule, + BtnLargeComponent, + FormsModule, + RouterLink, + EmailRequestComponent, + ], templateUrl: './forgot-password.component.html', styleUrl: './forgot-password.component.scss', }) @@ -43,6 +50,10 @@ export class ForgotPasswordComponent implements OnInit { this.handleQueryParams(); } + submittedChange(value: boolean): void { + this.sendEmailSuccess = value; + } + /** * Subscribes to query parameters and sets internal flags based on them. */