mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
allow autofilling ciphers with reprompt directly after vault login or unlock (#6242)
This commit is contained in:
@@ -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
|
// 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
|
// in scenarios like unlock on autofill
|
||||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url);
|
const ciphers = await this.cipherService.getAllDecryptedForUrl(tab.url);
|
||||||
cipher = ciphers.find((c) => c.reprompt === CipherRepromptType.None);
|
cipher = ciphers[0];
|
||||||
} else {
|
} else {
|
||||||
const ciphers = await this.cipherService.getAllDecrypted();
|
const ciphers = await this.cipherService.getAllDecrypted();
|
||||||
cipher = ciphers.find((c) => c.id === id);
|
cipher = ciphers.find((c) => c.id === id);
|
||||||
|
|||||||
Reference in New Issue
Block a user