fix middleware
This commit is contained in:
9
src/app/(auth)/invalid-user/page.tsx
Normal file
9
src/app/(auth)/invalid-user/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { InvalidUser } from "@/app_modules/auth";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<InvalidUser />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user