summaryrefslogtreecommitdiff
path: root/modules/lock
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lock')
-rw-r--r--modules/lock/Center.qml2
-rw-r--r--modules/lock/Pam.qml1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml
index 4d32bfd..b288284 100644
--- a/modules/lock/Center.qml
+++ b/modules/lock/Center.qml
@@ -162,7 +162,7 @@ ColumnLayout {
color: root.lock.pam.buffer ? Colours.palette.m3onPrimary : Colours.palette.m3onSurface
function onClicked(): void {
- root.lock.pam.start();
+ root.lock.pam.passwd.start();
}
}
diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml
index 6752d30..fa6e3d7 100644
--- a/modules/lock/Pam.qml
+++ b/modules/lock/Pam.qml
@@ -8,6 +8,7 @@ Scope {
required property WlSessionLock lock
+ readonly property alias passwd: passwd
readonly property bool active: passwd.active
property string state
property string buffer