mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[PM-10107] evaluate the override password type policy (#10277)
This commit is contained in:
@@ -248,7 +248,7 @@ export class LegacyPasswordGenerationService implements PasswordGenerationServic
|
||||
...options,
|
||||
...navigationEvaluator.sanitize(navigationApplied),
|
||||
};
|
||||
if (options.type === "password") {
|
||||
if (navigationSanitized.type === "password") {
|
||||
const applied = passwordEvaluator.applyPolicy(navigationSanitized);
|
||||
const sanitized = passwordEvaluator.sanitize(applied);
|
||||
return [sanitized, policy];
|
||||
|
||||
Reference in New Issue
Block a user