mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
prevent bio prompt when switching to unlocked account (#12875)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user