fix(auth) : keep Guide sessions beyond Sudloh token expiry
This commit is contained in:
@@ -6,7 +6,7 @@ import { PencilIcon } from "lucide-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { VisitorPresence } from "@/components/public/visitor-presence";
|
||||
import { PublicNavigation } from "@/components/public/public-navigation";
|
||||
import { AccountMenu } from "@/components/auth/account-menu";
|
||||
import { SignOutButton } from "@/components/auth/sign-out-button";
|
||||
import { getAdminSession } from "@/lib/auth/server";
|
||||
import { HttpError } from "@/lib/security/http";
|
||||
|
||||
@@ -45,7 +45,7 @@ export function SiteHeader({ editHref = "/admin", guideId }: { editHref?: string
|
||||
<div className="hidden lg:block">
|
||||
<VisitorPresence guideId={guideId} />
|
||||
</div>
|
||||
<AccountMenu />
|
||||
<SignOutButton />
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user