SPB Git forge

spb/polyllm

Public
15commits 1branches 0releases
2.2 MBsize
maindefault branch
13 days agolast push
TypeScript 97.4% SQL 1% JavaScript 0.9% CSS 0.6%
637 B · 15 lines tsx
Raw Blame History
1import type { Metadata } from "next";2import { ForgotForm } from "../_components/forgot-form";34export const metadata: Metadata = {5  title: "Reset your password",6  description: "Request a password reset link for your PolyLLM account.",7  robots: { index: false, follow: true },8};910export default async function ForgotPasswordPage({ searchParams }: { searchParams: Promise<Record<string, string | string[] | undefined>> }) {11  const params = await searchParams;12  const email = Array.isArray(params.email) ? params.email[0] : params.email;13  return <ForgotForm initialEmail={typeof email === "string" ? email.slice(0, 254) : ""} />;14}15