Harden CMS security and theme contrast

This commit is contained in:
2026-07-11 20:27:20 +02:00
parent 2465ff2170
commit 4a1e1115b3
57 changed files with 1023 additions and 231 deletions
+1
View File
@@ -5,6 +5,7 @@ import { redirect } from "next/navigation";
import { slugify } from "@/lib/format";
import { requireStaff } from "@/lib/admin/guard";
import { prisma } from "@/lib/prisma";
import { formPositiveBigInt } from "@/lib/form-data";
async function uniqueSlug(title: string): Promise<string> {
const base = slugify(title);