添加账号系统
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
import { clearCurrentCaregiverSession } from "@/lib/session";
|
||||
|
||||
export async function POST(request: Request) {
|
||||
await clearCurrentCaregiverSession();
|
||||
|
||||
return NextResponse.redirect(new URL("/login", request.url), {
|
||||
status: 303,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user