Skip referenced passwords in Health check report

Fixes #5036
This commit is contained in:
alcroito 2020-07-13 18:31:00 +02:00 committed by Jonathan White
parent 88a0a8d35a
commit ff9dd43262

View File

@ -106,7 +106,7 @@ HealthChecker::HealthChecker(QSharedPointer<Database> db)
{
// Build the cache of re-used passwords
for (const auto* entry : db->rootGroup()->entriesRecursive()) {
if (!entry->isRecycled()) {
if (!entry->isRecycled() && !entry->isAttributeReference("Password")) {
m_reuse[entry->password()]
<< QApplication::tr("Used in %1/%2").arg(entry->group()->hierarchy().join('/'), entry->title());
}