mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
allow autofilling ciphers with reprompt directly after vault login or unlock (#6242)
This commit is contained in:
parent
6c69638261
commit
cf90c4f88a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user