diff --git a/apps/desktop/src/app/layout/account-switcher.component.ts b/apps/desktop/src/app/layout/account-switcher.component.ts index d6597c0422a..7e6256e9ba6 100644 --- a/apps/desktop/src/app/layout/account-switcher.component.ts +++ b/apps/desktop/src/app/layout/account-switcher.component.ts @@ -134,9 +134,9 @@ export class AccountSwitcherComponent implements OnInit, OnDestroy { async addAccount() { this.close(); - await this.stateService.setActiveUser(null); await this.stateService.setRememberedEmail(null); await this.router.navigate(["/login"]); + await this.stateService.setActiveUser(null); } private async createInactiveAccounts(baseAccounts: {