1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Fix route in redirectGuard for browser login (#6093)

The web and desktop client usually direct to the vault-page but the browser redirects to the tabs-tab showing the favourites and cards
This commit is contained in:
Daniel James Smith
2023-08-23 20:10:58 +02:00
committed by GitHub
parent 5c576fd19e
commit 4795a29116

View File

@@ -58,7 +58,7 @@ const routes: Routes = [
path: "",
pathMatch: "full",
children: [], // Children lets us have an empty component.
canActivate: [redirectGuard({ loggedIn: "/tabs/vault", loggedOut: "/home", locked: "/lock" })],
canActivate: [redirectGuard({ loggedIn: "/tabs/tabs", loggedOut: "/home", locked: "/lock" })],
},
{
path: "vault",