1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

lock: terminate fprint pam session when using password

This commit is contained in:
bbedward
2025-10-16 11:37:14 -04:00
parent 0d329baaca
commit 7bf7d0afae

View File

@@ -324,6 +324,9 @@ Item {
onAccepted: {
if (!demoMode && !pam.passwd.active) {
console.log("Enter pressed, starting PAM authentication")
if (pam.fprint.active) {
pam.fprint.abort()
}
pam.passwd.start()
}
}
@@ -571,6 +574,9 @@ Item {
onClicked: {
if (!demoMode) {
console.log("Enter button clicked, starting PAM authentication")
if (pam.fprint.active) {
pam.fprint.abort()
}
pam.passwd.start()
}
}