mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-21 21:11:35 +01:00
[PM-5991] Updated ordering on account switch to route before clearing state (#7797)
This commit is contained in:
parent
d047723f04
commit
aa67190f3c
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user