diff --git a/src/core/PasswordHealth.cpp b/src/core/PasswordHealth.cpp index 16c602dbd..1d23c8840 100644 --- a/src/core/PasswordHealth.cpp +++ b/src/core/PasswordHealth.cpp @@ -202,8 +202,6 @@ QSharedPointer 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)); }