mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:23:16 +00:00
response for unregistered user without context
This commit is contained in:
@@ -127,6 +127,11 @@ export async function POST(request: NextRequest) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return NextResponse.json(
|
||||||
|
{ message: "Could not find user" },
|
||||||
|
{ status: 404 },
|
||||||
|
);
|
||||||
|
} else {
|
||||||
return NextResponse.json(
|
return NextResponse.json(
|
||||||
{ message: "Could not find user" },
|
{ message: "Could not find user" },
|
||||||
{ status: 404 },
|
{ status: 404 },
|
||||||
|
|||||||
Reference in New Issue
Block a user