mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:32:39 +00:00
rm logs
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user