add browser redirect from /home to /login with FF on

This commit is contained in:
rr-bw 2024-09-13 15:53:47 -07:00
parent 80fd8bd5b0
commit 236c41e6f8
No known key found for this signature in database
GPG Key ID: 3FA13C3ADEE51D5D
2 changed files with 3 additions and 2 deletions

View File

@ -134,7 +134,8 @@ const routes: Routes = [
{ {
path: "home", path: "home",
component: HomeComponent, component: HomeComponent,
canActivate: [unauthGuardFn(unauthRouteOverrides)], // TODO-rr-bw: verify if was the correct feature-flag/redirect to use, and should it go in canActivate?
canActivate: [unauthGuardFn(unauthRouteOverrides), extensionRefreshRedirect("login")],
data: { state: "home" }, data: { state: "home" },
}, },
...extensionRefreshSwap(Fido2V1Component, Fido2Component, { ...extensionRefreshSwap(Fido2V1Component, Fido2Component, {

View File

@ -56,7 +56,7 @@ export const DefaultFeatureFlagValue = {
[FeatureFlag.EnableConsolidatedBilling]: FALSE, [FeatureFlag.EnableConsolidatedBilling]: FALSE,
[FeatureFlag.AC1795_UpdatedSubscriptionStatusSection]: FALSE, [FeatureFlag.AC1795_UpdatedSubscriptionStatusSection]: FALSE,
[FeatureFlag.EnableDeleteProvider]: FALSE, [FeatureFlag.EnableDeleteProvider]: FALSE,
[FeatureFlag.ExtensionRefresh]: FALSE, [FeatureFlag.ExtensionRefresh]: true,
[FeatureFlag.PersistPopupView]: FALSE, [FeatureFlag.PersistPopupView]: FALSE,
[FeatureFlag.PM4154_BulkEncryptionService]: FALSE, [FeatureFlag.PM4154_BulkEncryptionService]: FALSE,
[FeatureFlag.UseTreeWalkerApiForPageDetailsCollection]: FALSE, [FeatureFlag.UseTreeWalkerApiForPageDetailsCollection]: FALSE,