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

PropTypeDescription
childrenReactNodeReplace the inner form
marketingReactNodeReplace the left marketing panel