diff --git a/libs/auth/src/angular/input-password/input-password.component.ts b/libs/auth/src/angular/input-password/input-password.component.ts index c9c932a9d3a..633cb51b7be 100644 --- a/libs/auth/src/angular/input-password/input-password.component.ts +++ b/libs/auth/src/angular/input-password/input-password.component.ts @@ -356,7 +356,7 @@ export class InputPasswordComponent implements OnInit { ): Promise { // Check if the password is breached, weak, or both const passwordIsBreached = - checkForBreaches && (await this.auditService.passwordLeaked(newPassword)); + checkForBreaches && (await this.auditService.passwordLeaked(newPassword)) > 0; const passwordWeak = passwordStrengthScore != null && passwordStrengthScore < 3;