1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +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
committed by GitHub
parent 7b496cc7a5
commit 494d349b57

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