mirror of
https://github.com/bitwarden/browser
synced 2026-01-10 20:43:38 +00:00
use valid userId when logging out (#9334)
This commit is contained in:
@@ -1333,7 +1333,7 @@ export default class MainBackground {
|
||||
]);
|
||||
|
||||
//Needs to be checked before state is cleaned
|
||||
const needStorageReseed = await this.needsStorageReseed(userId);
|
||||
const needStorageReseed = await this.needsStorageReseed(userBeingLoggedOut);
|
||||
|
||||
await this.stateService.clean({ userId: userBeingLoggedOut });
|
||||
await this.accountService.clean(userBeingLoggedOut);
|
||||
|
||||
Reference in New Issue
Block a user