From cf90c4f88ac67129c537d2afbe9b3116a2cdccf7 Mon Sep 17 00:00:00 2001 From: Jonathan Prusik Date: Tue, 19 Sep 2023 15:04:56 -0400 Subject: [PATCH] allow autofilling ciphers with reprompt directly after vault login or unlock (#6242) --- .../src/autofill/browser/context-menu-clicked-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/browser/context-menu-clicked-handler.ts b/apps/browser/src/autofill/browser/context-menu-clicked-handler.ts index a6bff50a19..62c6c9c25a 100644 --- a/apps/browser/src/autofill/browser/context-menu-clicked-handler.ts +++ b/apps/browser/src/autofill/browser/context-menu-clicked-handler.ts @@ -189,7 +189,7 @@ export class ContextMenuClickedHandler { // we are actually unlocked we will do our best to find a good match of an item to autofill this is useful // in scenarios like unlock on autofill const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url); - cipher = ciphers.find((c) => c.reprompt === CipherRepromptType.None); + cipher = ciphers[0]; } else { const ciphers = await this.cipherService.getAllDecrypted(); cipher = ciphers.find((c) => c.id === id);