1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 20:24:01 +00:00

fix(policy-enforcement): [PM-21085] Fix Bug with Policy Enforcement - Removed temp code to force the state I need to verify correctness.

This commit is contained in:
Patrick Pimentel
2025-05-21 16:49:03 -04:00
parent f45e2d7d8a
commit 737960cd4f
2 changed files with 3 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ export class WebLoginComponentService
const enforcedPasswordPolicyOptions = await firstValueFrom(
this.accountService.activeAccount$.pipe(
getUserId,
switchMap((userId) => this.policyService.masterPasswordPolicyOptions$(userId, policies)),
switchMap((userId) => this.policyService.masterPasswordPolicyOptions$(userId)),
),
);

View File

@@ -170,7 +170,7 @@ const routes: Routes = [
canActivate: [
canAccessFeature(
FeatureFlag.PM16117_ChangeExistingPasswordRefactor,
true,
false,
"/change-password",
false,
),
@@ -184,7 +184,7 @@ const routes: Routes = [
canActivate: [
canAccessFeature(
FeatureFlag.PM16117_ChangeExistingPasswordRefactor,
true,
false,
"/change-password",
false,
),