import { adminLogin } from '@/lib/admin/actions'; export default async function AdminLoginPage({ searchParams }: { searchParams: Promise<{ error?: string; next?: string }> }) { const sp = await searchParams; return (
Admin
Enter the server admin token. The token is exchanged for a signed, httpOnly cookie valid 12 hours.