mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Adding the setting of the account to null on logout for web (#9592)
Merging.
This commit is contained in:
@@ -338,6 +338,7 @@ export class AppComponent implements OnDestroy, OnInit {
|
||||
this.authService.logOut(async () => {
|
||||
await this.stateService.clean({ userId: userId });
|
||||
await this.accountService.clean(userId);
|
||||
await this.accountService.switchAccount(null);
|
||||
|
||||
await logoutPromise;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user