feat: add password change functionality and dependencies

This commit is contained in:
decolua committed 2026-01-09 17:29:11 +07:00
1 parent bf6e09bb6f
commit 23cfb19459
8 files changed
+320 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import { NextResponse } from "next/server";
import { cookies } from "next/headers";
export async function POST() {
const cookieStore = await cookies();
cookieStore.delete("auth_token");
return NextResponse.json({ success: true });
}