Skip to content

Commit

Permalink
prevent bio prompt when switching to unlocked account (#12875)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlf0dev authored Jan 15, 2025
1 parent 7b496cc commit 494d349
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 494d349

Please sign in to comment.