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