Fix crash when auth system not available and master password reset attempted

This commit is contained in:
Nyall Dawson 2025-02-12 14:32:29 +10:00
parent 73525ed182
commit bcdedb4fcf
No known key found for this signature in database
GPG Key ID: 4C61673F0BF197FC

View File

@ -46,7 +46,6 @@ QgsMasterPasswordResetDialog::QgsMasterPasswordResetDialog( QWidget *parent )
{
chkKeepBackup->hide();
}
}
QString warning = tr( "The authentication store will be re-encrypted using the new password." );
if ( QgsApplication::authManager()->passwordHelperEnabled() )
@ -56,6 +55,7 @@ QgsMasterPasswordResetDialog::QgsMasterPasswordResetDialog( QWidget *parent )
lblWarning->setText( warning );
}
}
QgsPasswordLineEdit *QgsMasterPasswordResetDialog::oldPasswordLineEdit()
{