Fixed Wrong IP being loged

This commit is contained in:
PxlLoewe
2026-02-01 11:45:18 +01:00
parent cc29ac3e14
commit 824d2e40a9
7 changed files with 135 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ import {
RocketIcon,
ReaderIcon,
DownloadIcon,
UpdateIcon,
ActivityLogIcon,
} from "@radix-ui/react-icons";
import Link from "next/link";
@@ -14,7 +13,7 @@ import { WarningAlert } from "./ui/PageAlert";
import { getServerSession } from "api/auth/[...nextauth]/auth";
import { Error } from "./Error";
import Image from "next/image";
import { Loader, Plane, Radar, Workflow } from "lucide-react";
import { Plane, Radar, Workflow } from "lucide-react";
import { BookingButton } from "./BookingButton";
export const VerticalNav = async () => {
@@ -103,6 +102,11 @@ export const VerticalNav = async () => {
<Link href="/admin/penalty">Audit-Log</Link>
</li>
)}
{session.user.permissions.includes("ADMIN_USER_ADVANCED") && (
<li>
<Link href="/admin/account-log">Account Log</Link>
</li>
)}
{session.user.permissions.includes("ADMIN_CHANGELOG") && (
<li>
<Link href="/admin/changelog">Changelog</Link>