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:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user