1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-04 05:08:06 +02: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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