1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-02 11:34:53 +02: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",