This commit is contained in:
JCira-OSU 2026-03-08 22:45:48 -07:00 committed by GitHub
commit 743eb3ca3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,11 +152,11 @@ QSharedPointer<PasswordHealth> HealthChecker::evaluate(const Entry* entry) const
health->addScoreReason(QObject::tr("Password is used %1 time(s)", "", count).arg(QString::number(count)));
// Add the first 20 uses of the password to prevent the details display from growing too large
for (int i = 0; i < used.size(); ++i) {
health->addScoreDetails(used[i]);
if (i == 19) {
if (i == 20) {
health->addScoreDetails("");
break;
}
health->addScoreDetails(used[i]);
}
// Don't allow re-used passwords to be considered "good"