import Link from 'next/link'; import { AlertTriangle, CheckCircle2, XCircle, XOctagon } from 'lucide-react'; import { verifyEmail } from '@documenso/lib/server-only/user/verify-email'; import { Button } from '@documenso/ui/primitives/button'; export type PageProps = { params: { token: string; }; }; export default async function VerifyEmailPage({ params: { token } }: PageProps) { if (!token) { return (
It seems that there is no token provided. Please check your email and try again.
We were unable to verify your email. If your email is not verified already, please try again.
It seems that the provided token has expired. We've just sent you another token, please check your email and try again.
Your email has been successfully confirmed! You can now use all features of Documenso.