feat: add password change functionality and dependencies

This commit is contained in:
decolua
2026-01-09 17:29:11 +07:00
parent bf6e09bb6f
commit 23cfb19459
8 changed files with 320 additions and 3 deletions
+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 });
}