Commit 5d99de94 authored by Devin Lin's avatar Devin Lin 🎨

Fix grace lock with empty password

parent 01026a22
......@@ -59,7 +59,10 @@ Rectangle {
}
function enter() {
keypadRoot.waitingForAuth = true;
if (root.password !== "") { // prevent typing lock when password is empty
keypadRoot.waitingForAuth = true;
}
// don't try to unlock if there is a timeout (unlock once unlocked)
if (!authenticator.graceLocked) {
authenticator.tryUnlock(root.password);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment