mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Prefer Passed In UserId (#8602)
This commit is contained in:
parent
e4720de62a
commit
16c289d680
@ -1188,7 +1188,7 @@ export default class MainBackground {
|
||||
await this.searchService.clearIndex();
|
||||
}
|
||||
|
||||
await this.stateEventRunnerService.handleEvent("logout", currentUserId as UserId);
|
||||
await this.stateEventRunnerService.handleEvent("logout", userId);
|
||||
|
||||
if (newActiveUser != null) {
|
||||
// we have a new active user, do not continue tearing down application
|
||||
|
Loading…
Reference in New Issue
Block a user