You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/core/tdebase/use-pam-before-classic.diff

18 lines
570 B

Index: kdesktop/lock/lockprocess.cc
===================================================================
--- kdesktop/lock/lockprocess.cc.orig
+++ kdesktop/lock/lockprocess.cc
@@ -364,8 +364,10 @@ void LockProcess::configure()
readSaver();
mPlugins = KDesktopSettings::pluginsUnlock();
- if (mPlugins.isEmpty())
- mPlugins = QStringList("classic");
+ if (mMethod == "pam")
+ mPlugins << mMethod;
+ if (mMethod == "pam" || mPlugins.isEmpty())
+ mPlugins << "classic";
mPluginOptions = KDesktopSettings::pluginOptions();
}