import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { TooltipProvider } from "@/components/ui/tooltip"; import { GuardForm } from "@/components/wrappers/auth/guard/guard-form"; import { cookies } from "next/headers"; import { redirect } from "next/navigation"; export default async function GuardPage() { const cookieStore = await cookies(); const token = cookieStore.get("better-auth.two_factor")?.value; if (!token) { redirect("/login"); } return (

Two-factor verification

Please enter the verification code generated by your authentication app.

); }