feat : update

This commit is contained in:
2026-10-03 14:51:40 +07:00 Unverified
parent 6ceff15e20
commit f5cfe0a22e
36 changed files with 47 additions and 70 deletions
+13
View File
@@ -0,0 +1,13 @@
import { connection } from "next/server";
import { SiteHeader } from "@/components/public/site-header";
import { EmailActionForm } from "@/components/auth/email-action-form";
export const instant = false;
export default async function ResetPasswordPage({ searchParams }: PageProps<"/auth/password-reset">) {
await connection();
const { token, error } = await searchParams;
return <div className="min-h-svh"><SiteHeader /><main className="grid min-h-[calc(100svh-4rem)] place-items-center p-4">
<EmailActionForm mode="reset" token={typeof token === "string" ? token : ""} invalidToken={typeof error === "string"} />
</main></div>;
}