1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

allow autofilling ciphers with reprompt directly after vault login or unlock (#6242)

This commit is contained in:
Jonathan Prusik
2023-09-19 15:04:56 -04:00
committed by GitHub
parent 6c69638261
commit cf90c4f88a

View File

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