1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[SG-485] and [SG-486] Trial Initiation routing and bug fixes

This commit is contained in:
Robyn MacCallum
2022-07-25 14:44:51 -04:00
committed by GitHub
parent 296fb6deb9
commit 1f599b499e
3 changed files with 20 additions and 6 deletions

View File

@@ -63,10 +63,16 @@ const routes: Routes = [
{ path: "2fa", component: TwoFactorComponent, canActivate: [UnauthGuard] },
{
path: "register",
component: flagEnabled("showTrial") ? TrialInitiationComponent : RegisterComponent,
component: RegisterComponent,
canActivate: [UnauthGuard],
data: { titleId: "createAccount" },
},
buildFlaggedRoute("showTrial", {
path: "trial",
component: TrialInitiationComponent,
canActivate: [UnauthGuard],
data: { titleId: "startTrial" },
}),
{
path: "sso",
component: SsoComponent,