1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Redirect to vault if there is an available activeUserId

This commit is contained in:
Alec Rippberger
2025-04-08 13:45:54 -05:00
parent 772b42f5b5
commit 4be617dfb1

View File

@@ -115,6 +115,10 @@ export class AppComponent implements OnInit, OnDestroy {
if (msg.logoutReason) {
await this.displayLogoutReason(msg.logoutReason);
}
if (this.activeUserId) {
await this.router.navigate(["vault"]);
}
});
this.changeDetectorRef.detectChanges();
} else if (msg.command === "authBlocked" || msg.command === "goHome") {