1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

[deps] Autofill: Update prettier to v3.2.2 (#7565)

* [deps] Autofill: Update prettier to v3.2.2

* prettier fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Jonathan Prusik
2024-01-17 16:02:44 -05:00
committed by GitHub
parent a102f8d90a
commit 8e9a104bd0
6 changed files with 42 additions and 37 deletions

View File

@@ -183,8 +183,10 @@ export class PasswordLoginStrategy extends LoginStrategy {
{ masterPassword, email }: PasswordLoginCredentials,
options: MasterPasswordPolicyOptions,
): boolean {
const passwordStrength = this.passwordStrengthService.getPasswordStrength(masterPassword, email)
?.score;
const passwordStrength = this.passwordStrengthService.getPasswordStrength(
masterPassword,
email,
)?.score;
return this.policyService.evaluateMasterPassword(passwordStrength, masterPassword, options);
}