1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

feat(change-password-component): Change Password Update [18720] - Should be working fully

This commit is contained in:
Patrick Pimentel
2025-06-04 14:55:49 -04:00
parent 29748e152f
commit 2c7da3bb0f

View File

@@ -183,7 +183,10 @@ export class PasswordLoginStrategy extends LoginStrategy {
if (
await this.configService.getFeatureFlag(FeatureFlag.PM16117_ChangeExistingPasswordRefactor)
) {
masterPasswordPolicyOptions = credentials.masterPasswordPolicies;
// Take credentials from a potential org invite first, then take from
masterPasswordPolicyOptions = credentials.masterPasswordPolicies
? credentials.masterPasswordPolicies
: this.getMasterPasswordPolicyOptionsFromResponse(identityResponse);
if (!masterPasswordPolicyOptions?.enforceOnLogin) {
return;