1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-01 23:01:28 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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