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

@@ -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);