Adding the setting of the account to null on logout for web

This commit is contained in:
Tom 2024-06-11 15:29:33 -04:00
parent 9b0250d4fd
commit 4da3232141
No known key found for this signature in database
GPG Key ID: B54450C2D35FA1D6
1 changed files with 1 additions and 0 deletions

View File

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