ultisuite-client/components/auth/forgot-password-page-content.tsx
R3D347HR4Y 359931c2f3
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat: implement forgot password and signup flows with new layouts and components
- Added new layout and page components for forgot password and signup functionalities, enhancing user experience.
- Integrated authentication flow handling for password recovery and account creation, utilizing dynamic metadata.
- Updated login form to include links for forgot password and signup, improving navigation between authentication states.
- Refactored CSS styles for login components to ensure consistent design across different authentication pages.
2026-06-19 22:34:23 +02:00

27 lines
905 B
TypeScript

"use client"
import Link from "next/link"
import { AuthFlowPage } from "@/components/auth/auth-flow-page"
import { AUTH_FLOW_SLUGS } from "@/lib/auth/auth-flow-slugs"
export function ForgotPasswordPageContent() {
return (
<AuthFlowPage
slug={AUTH_FLOW_SLUGS.recovery}
defaultTitle="Mot de passe oublié"
defaultDescription="Indiquez votre adresse e-mail pour recevoir un lien de réinitialisation."
successTitle="E-mail envoyé"
successDescription="Si un compte existe pour cette adresse, vous recevrez un e-mail avec les instructions."
successActionLabel="Retour à la connexion"
successHref="/login"
footer={
<p className="w-full text-center text-sm text-muted-foreground">
<Link className="font-medium text-primary underline" href="/login">
Retour à la connexion
</Link>
</p>
}
/>
)
}