mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Stop showing score 3 passwords as weak passwords (#445)
This commit is contained in:
committed by
Kyle Spearrin
parent
00b9f4cab6
commit
6e66df59b7
@@ -63,7 +63,7 @@ export class WeakPasswordsReportComponent extends CipherReportComponent implemen
|
|||||||
this.passwordStrengthCache.set(cacheKey, result.score);
|
this.passwordStrengthCache.set(cacheKey, result.score);
|
||||||
}
|
}
|
||||||
const score = this.passwordStrengthCache.get(cacheKey);
|
const score = this.passwordStrengthCache.get(cacheKey);
|
||||||
if (score != null && score <= 3) {
|
if (score != null && score <= 2) {
|
||||||
this.passwordStrengthMap.set(c.id, this.scoreKey(score));
|
this.passwordStrengthMap.set(c.id, this.scoreKey(score));
|
||||||
weakPasswordCiphers.push(c);
|
weakPasswordCiphers.push(c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user