diff --git a/client/components/RequireAccess.tsx b/client/components/RequireAccess.tsx index e22a2412..23ff9f4b 100644 --- a/client/components/RequireAccess.tsx +++ b/client/components/RequireAccess.tsx @@ -1,7 +1,12 @@ import { Navigate, useLocation } from "react-router-dom"; import { useAuth } from "@/contexts/AuthContext"; import Layout from "@/components/Layout"; -import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; +import { + Card, + CardHeader, + CardTitle, + CardDescription, +} from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; interface RequireAccessProps { @@ -33,9 +38,16 @@ export default function RequireAccess({
- Access + + Access + Access denied - Sign in required to view this page. + + Sign in required to view this page. +
@@ -51,9 +63,16 @@ export default function RequireAccess({
- Access + + Access + Access denied - You don’t have the required realm or role for this area. + + You don’t have the required realm or role for this area. +