import type { Metadata } from "next"; import Link from "next/link"; import { PageHeader } from "@/components/PageHeader"; import { Section } from "@/components/Section"; import { ResendVerificationButton } from "@/components/auth/ResendVerificationButton"; import { verifyEmailToken } from "@/lib/auth/verifyEmailToken"; export const dynamic = "force-dynamic"; export const metadata: Metadata = { title: "E-Mail bestätigen", robots: { index: false, follow: false } }; type Args = { params: Promise<{ token: string }> }; export default async function VerifyEmailPage({ params }: Args) { const { token } = await params; const verified = await verifyEmailToken(token); return ( <> {verified ? ( <> Dein Konto ist jetzt aktiviert. Zum Konto > ) : ( <> Dieser Verifizierungslink ist ungültig oder abgelaufen. Zur Anmeldung > )} > ); }
Dein Konto ist jetzt aktiviert.
Dieser Verifizierungslink ist ungültig oder abgelaufen.