feat: add password change functionality and dependencies
This commit is contained in:
1 parent
bf6e09bb6f
commit
23cfb19459
8 files changed
+320
-3
No files matched your search
@@ -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 });
|
||||
}
|
||||
Reference in new issue
Block a user