This commit is contained in:
Max Peintner
2023-06-21 14:08:19 +02:00
parent 05314c7a49
commit ad7f9d2ab4
3 changed files with 0 additions and 5 deletions

View File

@@ -16,7 +16,6 @@ export async function POST(request: NextRequest) {
return NextResponse.json({ userId });
})
.catch((error) => {
console.log(error);
return NextResponse.json(error, { status: 500 });
});
} else {

View File

@@ -114,7 +114,6 @@ export default function RegisterPasskey({ sessionId, isPrompt }: Props) {
navigator.credentials
.create(resp.publicKeyCredentialCreationOptions)
.then((resp) => {
console.log(resp);
if (
resp &&
(resp as any).response.attestationObject &&
@@ -141,8 +140,6 @@ export default function RegisterPasskey({ sessionId, isPrompt }: Props) {
),
},
};
console.log(data);
return submitVerify(passkeyId, "", data, sessionId);
} else {
setLoading(false);

View File

@@ -25,7 +25,6 @@ const createClient = <Client>(
};
export const getManagement = (app?: string | ZitadelServer) => {
console.log("init management");
let config;
if (app && typeof app === "string") {
const apps = getServers();