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

Move Trial Initiation to register route (#3129)

This commit is contained in:
Robyn MacCallum
2022-07-19 11:52:18 -04:00
committed by GitHub
parent acbd789c2b
commit 2ddba6d2c3
3 changed files with 115 additions and 67 deletions

View File

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