ForgotPasswordPage
Standalone page rendering a password-reset form. Register at ForgotPasswordPage.path (/forgot-password).
Usage
<AdminGuesser> registers this route automatically. For manual setup:
import { CustomRoutes } from "ra-core";
import { Route } from "react-router";
import { Admin } from "@/components/admin";
import { ForgotPasswordPage } from "@/components/supabase";
const App = () => (
<Admin authProvider={authProvider}>
<CustomRoutes noLayout>
<Route path={ForgotPasswordPage.path} element={<ForgotPasswordPage />} />
</CustomRoutes>
</Admin>
);Props
| Prop | Type | Description |
|---|---|---|
children | ReactNode | Replace the inner form |
marketing | ReactNode | Replace the left marketing panel |