Adding the setting of the account to null on logout for web
This commit is contained in:
parent
9b0250d4fd
commit
4da3232141
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue