From 1ab263e4d9b0f3c356b0a55b4ef17a3eec0113c6 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Mon, 17 Apr 2023 10:52:19 +0200 Subject: [PATCH] [EC-598] fix: bug preventing fallback on assertion --- libs/common/src/fido2/services/fido2-authenticator.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/fido2/services/fido2-authenticator.service.ts b/libs/common/src/fido2/services/fido2-authenticator.service.ts index fb8125b2442..cdd26739ba0 100644 --- a/libs/common/src/fido2/services/fido2-authenticator.service.ts +++ b/libs/common/src/fido2/services/fido2-authenticator.service.ts @@ -296,7 +296,7 @@ export class Fido2AuthenticatorService implements Fido2AuthenticatorServiceAbstr } if (ids.length === 0) { - return undefined; + return []; } const ciphers = await this.cipherService.getAllDecrypted();