mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-27 20:36:49 -08:00
Fix password strength evaluation for referenced passwords (#13479)
* Also fix password strength in entry view --------- Co-authored-by: Jonathan White <[email protected]>
This commit is contained in:
1 parent
6a534f38c6
commit
e888fec070
4 files changed
+20
-3
No files matched your search
+2
-2
@@ -231,7 +231,7 @@ QString Entry::defaultAutoTypeSequence() const
|
||||
const QSharedPointer<PasswordHealth> Entry::passwordHealth()
|
||||
{
|
||||
if (!m_data.passwordHealth) {
|
||||
m_data.passwordHealth.reset(new PasswordHealth(resolvePlaceholder(password())));
|
||||
m_data.passwordHealth.reset(new PasswordHealth(resolveMultiplePlaceholders(password())));
|
||||
}
|
||||
return m_data.passwordHealth;
|
||||
}
|
||||
@@ -239,7 +239,7 @@ const QSharedPointer<PasswordHealth> Entry::passwordHealth()
|
||||
const QSharedPointer<PasswordHealth> Entry::passwordHealth() const
|
||||
{
|
||||
if (!m_data.passwordHealth) {
|
||||
return QSharedPointer<PasswordHealth>::create(resolvePlaceholder(password()));
|
||||
return QSharedPointer<PasswordHealth>::create(resolveMultiplePlaceholders(password()));
|
||||
}
|
||||
return m_data.passwordHealth;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user