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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user