fix middleware

This commit is contained in:
2025-02-10 16:12:29 +08:00
parent 1ca1042c44
commit a7ad183f3e
5 changed files with 61 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
import { InvalidUser } from "@/app_modules/auth";
export default function Page() {
return (
<>
<InvalidUser />
</>
);
}

View File

@@ -13,7 +13,6 @@ export async function POST(req: Request) {
try {
const { data } = await req.json();
console.log("data api register", data);
const cekUsername = await prisma.user.findUnique({
where: {