import type { Metadata } from "next" import Link from "next/link" import { Logo } from "@/components/shared/logo" import { TurnstileWidget } from "@/components/shared/turnstile-widget" import { resetPassword } from "@/app/actions/auth" export const metadata: Metadata = { title: "Reset password", robots: { index: false, follow: true }, } export default async function ForgotPasswordPage({ searchParams, }: { searchParams: Promise<{ error?: string; success?: string }> }) { const params = await searchParams const error = params.error const success = params.success return (
Enter your email and we'll send a reset link
Remember your password?{" "} Back to sign in