1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-30 22:41:33 +01:00

Redirect to signup page if email verification flag is enabled (#11910)

This commit is contained in:
Alec Rippberger 2024-11-11 10:16:58 -06:00 committed by GitHub
parent f593269133
commit f0901b0b98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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