From 832603903e9f5cd245014d72fb514cb3f368e490 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 16 Aug 2025 19:31:07 +1000 Subject: [PATCH] lock: clear password buffer on unlock For when unlocking via ipc/globalshortcut --- modules/lock/Pam.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml index fa6e3d79..26754057 100644 --- a/modules/lock/Pam.qml +++ b/modules/lock/Pam.qml @@ -63,4 +63,12 @@ Scope { interval: 4000 onTriggered: root.state = "" } + + Connections { + target: root.lock + + function onUnlock(): void { + root.buffer = ""; + } + } }