mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +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 () => {
|
this.authService.logOut(async () => {
|
||||||
await this.stateService.clean({ userId: userId });
|
await this.stateService.clean({ userId: userId });
|
||||||
await this.accountService.clean(userId);
|
await this.accountService.clean(userId);
|
||||||
|
await this.accountService.switchAccount(null);
|
||||||
|
|
||||||
await logoutPromise;
|
await logoutPromise;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user