chore: migrate /auth/forgot-password pages (#18945)

This commit is contained in:
Benny Joo authored and GitHub committed 2025-01-28 21:51:14 +00:00
1 parent 8205431640
commit e23ab02c23
12 files changed
+64 -139

No files matched your search

@@ -9,13 +9,11 @@ import React from "react";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Button, EmailField } from "@calcom/ui";
import { type inferSSRProps } from "@lib/types/inferSSRProps";
import AuthContainer from "@components/ui/AuthContainer";
import type { getServerSideProps } from "@server/lib/auth/forgot-password/getServerSideProps";
export type PageProps = inferSSRProps<typeof getServerSideProps>;
export type PageProps = {
csrfToken?: string;
};
export default function ForgotPassword(props: PageProps) {
const csrfToken = "csrfToken" in props ? (props.csrfToken as string) : undefined;