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:
parent
7b496cc7a5
commit
494d349b57
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user