mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-17 01:31:25 +01:00
[PM-8593] CLI - Logout needs to reset active account (#9503)
* On logging out the account service active account needs set to null * Auth service logout back to old spot and account switch after cleaning the state
This commit is contained in:
parent
f6702cd2d7
commit
e6803e05ee
@ -753,6 +753,7 @@ export class ServiceContainer {
|
|||||||
|
|
||||||
await this.stateService.clean();
|
await this.stateService.clean();
|
||||||
await this.accountService.clean(userId);
|
await this.accountService.clean(userId);
|
||||||
|
await this.accountService.switchAccount(null);
|
||||||
process.env.BW_SESSION = null;
|
process.env.BW_SESSION = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user