1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

prevent bio prompt when switching to unlocked account (#12875)

This commit is contained in:
Jake Fink
2025-01-15 12:22:50 -06:00
parent db165fb59b
commit e94e467c70

View File

@@ -244,6 +244,10 @@ export class LockComponent implements OnInit, OnDestroy {
if (activeAccount == null) {
return;
}
// this account may be unlocked, prevent any prompts so we can redirect to vault
if (await this.keyService.hasUserKeyInMemory(activeAccount.id)) {
return;
}
this.setEmailAsPageSubtitle(activeAccount.email);