import Link from "next/link"; import { headers } from "next/headers"; import { Button } from "~/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "~/components/ui/card"; import { auth } from "~/lib/auth"; export default async function UnauthorizedPage() { const session = await auth.api.getSession({ headers: await headers(), }); return (
Access Denied
Insufficient Permissions
This page requires additional privileges that your account doesn't have. Please contact your administrator to request access.
Current User:
{session.user.name ?? session.user.email}
Need help?{" "} Contact Support
© 2024 HRIStudio. A platform for Human-Robot Interaction research.