mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-03 15:22:34 -08:00
Add configurable password strength check on database password (#9782)
* Set default value of DatabasePasswordMinimumQuality to 3 (do not accept a master password that is less than Good) * Add custom message box button "Continue with weak password"
This commit is contained in:
1 parent
b2e6dc5fda
commit
d44486ce94
10 files changed
+67
-1
No files matched your search
@@ -62,6 +62,14 @@ bool PasswordEditWidget::isEmpty() const
|
||||
return (visiblePage() == Page::Edit) && m_compUi->enterPasswordEdit->text().isEmpty();
|
||||
}
|
||||
|
||||
PasswordHealth::Quality PasswordEditWidget::getPasswordQuality() const
|
||||
{
|
||||
QString pwd = m_compUi->enterPasswordEdit->text();
|
||||
PasswordHealth passwordHealth(pwd);
|
||||
|
||||
return passwordHealth.quality();
|
||||
}
|
||||
|
||||
QWidget* PasswordEditWidget::componentEditWidget()
|
||||
{
|
||||
m_compEditWidget = new QWidget();
|
||||
|
||||
Reference in new issue
Block a user