Harden form auth and submission handling

This commit is contained in:
2026-07-09 23:53:40 +07:00 Unverified
parent 2c82d55839
commit 8c0cc4492b
43 changed files with 747 additions and 534 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";
export function proxy(request: NextRequest) {
export function proxy() {
// All /form routes are allowed through — auth is handled via dialog in the layout
return NextResponse.next();
}