mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-28 10:31:13 -05:00
Removed penalty for old age
This commit is contained in:
parent
9055fb307d
commit
1121488438
1 changed files with 0 additions and 2 deletions
|
|
@ -202,8 +202,6 @@ QSharedPointer<PasswordHealth> HealthChecker::evaluate(const Entry* entry) const
|
|||
int age = entry->getPasswordAgeInDays();
|
||||
int ageInYears = age / 365;
|
||||
if (ageInYears > 1) {
|
||||
constexpr auto penalty = 5;
|
||||
health->adjustScore(-penalty * ageInYears);
|
||||
health->addScoreReason(QObject::tr("Password is %1 year(s) old", "", ageInYears).arg(ageInYears));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue