fix(pam): Update config selection logic for PAM context

This commit is contained in:
purian23 committed 2026-03-26 10:55:05 -04:00
1 parent 72b598057c
commit 247a674c79
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ Scope {
PamContext {
id: passwd
config: dankshellConfigWatcher.loaded ? "dankshell" : root.bundledPasswdConfig
config: dankshellConfigWatcher.loaded ? "dankshell" : (loginConfigWatcher.loaded ? "login" : root.bundledPasswdConfig)
configDirectory: (dankshellConfigWatcher.loaded || loginConfigWatcher.loaded) ? "/etc/pam.d" : Quickshell.shellDir + "/assets/pam"
onMessageChanged: {