import { Component, signal } from '@angular/core'; import { RouterLink } from '@angular/router'; import { ButtonComponent, TextInputComponent } from '@africanies/africanies-ui'; import { PageHeaderComponent } from '../../shared/page-header.component'; /** * Product `/onboarding/login` — Forgot Password? goes to forgot-password. * Sign-in itself is demo-only here (host apps own the login POST). */ @Component({ selector: 'app-onboarding-login-page', standalone: true, imports: [ RouterLink, ButtonComponent, TextInputComponent, PageHeaderComponent, ], template: `

After a real login, if user.default_password is set, send the user to /onboarding/reset-password to change current → new password. That is not this forgot-password flow.

`, }) export class OnboardingLoginPage { protected readonly email = signal(''); protected readonly password = signal(''); }