Files
CVault/vault/app/api/auth/logout/route.ts
T
arsam 8be7094ed1 Import source: vault/app/api/auth/logout/route
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
2026-09-18 23:16:46 +03:30

8 lines
198 B
TypeScript

import { NextResponse } from "next/server";
import { clearSession } from "@/lib/server-security";
export async function POST() {
await clearSession();
return NextResponse.json({ ok: true });
}