1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00: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:
Tom
2024-06-11 13:36:31 -04:00
committed by GitHub
parent f6702cd2d7
commit e6803e05ee

View File

@@ -753,6 +753,7 @@ export class ServiceContainer {
await this.stateService.clean();
await this.accountService.clean(userId);
await this.accountService.switchAccount(null);
process.env.BW_SESSION = null;
}