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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user