1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 17:32:46 +01:00

Stop showing score 3 passwords as weak passwords (#445)

This commit is contained in:
Naoaki Iwakiri 2020-01-27 22:30:19 +09:00 committed by Kyle Spearrin
parent 00b9f4cab6
commit 6e66df59b7

View File

@ -63,7 +63,7 @@ export class WeakPasswordsReportComponent extends CipherReportComponent implemen
this.passwordStrengthCache.set(cacheKey, result.score);
}
const score = this.passwordStrengthCache.get(cacheKey);
if (score != null && score <= 3) {
if (score != null && score <= 2) {
this.passwordStrengthMap.set(c.id, this.scoreKey(score));
weakPasswordCiphers.push(c);
}