From da79e89b03f00381a2512a2a38c4843dc0edc82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Thu, 20 Feb 2025 00:37:06 +0100 Subject: [PATCH] revert spaces --- .../src/platform/services/fido2/fido2-authenticator.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts index cc7f897687e..376f4dcdced 100644 --- a/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts +++ b/libs/common/src/platform/services/fido2/fido2-authenticator.service.ts @@ -132,7 +132,6 @@ export class Fido2AuthenticatorService userVerification: params.requireUserVerification, rpId: params.rpEntity.id, }); - const cipherId = response.cipherId; userVerified = response.userVerified; @@ -147,7 +146,6 @@ export class Fido2AuthenticatorService keyPair = await createKeyPair(); pubKeyDer = await crypto.subtle.exportKey("spki", keyPair.publicKey); const encrypted = await this.cipherService.get(cipherId); - const activeUserId = await firstValueFrom( this.accountService.activeAccount$.pipe(map((a) => a?.id)), ); @@ -182,6 +180,7 @@ export class Fido2AuthenticatorService ); throw new Fido2AuthenticatorError(Fido2AuthenticatorErrorCode.Unknown); } + const authData = await generateAuthData({ rpId: params.rpEntity.id, credentialId: parseCredentialId(credentialId),