1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

/register does not redirect to /signup when email-verification flag is enabled (#12001)

* Manually route to signup page when the email verification feature flag is enabled

* Revert "Manually route to signup page when the email verification feature flag is enabled"

This reverts commit f3a2b412b9.

* Do not show toast when redirecting to signup
This commit is contained in:
Alec Rippberger
2024-11-20 10:45:00 -06:00
committed by GitHub
parent e073c47c17
commit 234a832fc4
2 changed files with 10 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ const routes: Routes = [
path: "register",
component: TrialInitiationComponent,
canActivate: [
canAccessFeature(FeatureFlag.EmailVerification, false, "/signup"),
canAccessFeature(FeatureFlag.EmailVerification, false, "/signup", false),
unauthGuardFn(),
],
data: { titleId: "createAccount" } satisfies RouteDataProperties,