diff --git a/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts b/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts index cd751499adb..d85a90e20ea 100644 --- a/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts +++ b/apps/desktop/src/autofill/modal/credentials/fido2-create.component.ts @@ -8,6 +8,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv import { DomainSettingsService } from "@bitwarden/common/autofill/services/domain-settings.service"; import { Fido2Utils } from "@bitwarden/common/platform/services/fido2/fido2-utils"; import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service"; +import { CipherType } from "@bitwarden/common/vault/enums/cipher-type"; import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view"; import { DialogService, @@ -172,6 +173,7 @@ export class Fido2CreateComponent implements OnInit, OnDestroy { const allCiphers = await this.cipherService.getAllDecrypted(activeUserId); return allCiphers.filter( (cipher) => + cipher.type == CipherType.Login && cipher.login?.matchesUri(rpid, equivalentDomains) && Fido2Utils.cipherHasNoOtherPasskeys(cipher, userHandle) && !cipher.deletedDate,