[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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;
}