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:
parent
5c576fd19e
commit
4795a29116
|
@ -58,7 +58,7 @@ const routes: Routes = [
|
||||||
path: "",
|
path: "",
|
||||||
pathMatch: "full",
|
pathMatch: "full",
|
||||||
children: [], // Children lets us have an empty component.
|
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",
|
path: "vault",
|
||||||
|
|
Loading…
Reference in New Issue