添加账号系统

This commit is contained in:
2026-04-17 12:58:38 +08:00
parent 032e207888
commit d3b03cecf2
27 changed files with 931 additions and 254 deletions
+11
View File
@@ -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,
});
}