mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-06 05:28:51 +02:00
Stop showing score 3 passwords as weak passwords (#445)
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user