Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
2026-07-11 20:37:56 +02:00
parent 4a1e1115b3
commit 4d515bc400
338 changed files with 5949 additions and 28144 deletions
+1 -3
View File
@@ -25,9 +25,7 @@ export async function postGuestbook(formData: FormData): Promise<void> {
const profileId = Number(formData.get("profileId"));
if (!Number.isInteger(profileId) || profileId <= 0) return;
const message = String(formData.get("message") ?? "")
.trim()
.slice(0, MESSAGE_MAX);
const message = String(formData.get("message") ?? "").trim().slice(0, MESSAGE_MAX);
if (!message) return;
// Block filtered/AI-flagged content before it touches the DB (fail-open).