From 89a34a396ce47393296e74e2da247f8d0f071460 Mon Sep 17 00:00:00 2001 From: Tom <144813356+ttalty@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:42:25 -0400 Subject: [PATCH] Adding the setting of the account to null on logout for web (#9592) Merging. --- apps/web/src/app/app.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/app/app.component.ts b/apps/web/src/app/app.component.ts index c9fbf359f0..f9d290de79 100644 --- a/apps/web/src/app/app.component.ts +++ b/apps/web/src/app/app.component.ts @@ -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;