From 513db437de027981d5dfeeecfa7ceac25deff013 Mon Sep 17 00:00:00 2001 From: Jakub Nowak Date: Sun, 9 Feb 2025 20:54:23 +0800 Subject: [PATCH] Fix a syntax error --- js/authenticate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/authenticate.js b/js/authenticate.js index ee94115..7c57e50 100644 --- a/js/authenticate.js +++ b/js/authenticate.js @@ -13,10 +13,10 @@ function bindAuthenticate() { lightdm.show_prompt.connect((text, type) => { console.log(`Responding with ${$("#password-input").value}`); - lightdm.respond($("#password-input").value) + lightdm.respond($("#password-input").value); }); - lightdm.authentication_complete.connect(() { + lightdm.authentication_complete.connect(() => { const selectedSession = sessions[currentSession].id; console.log(`Starting session ${selectedSession}`) lightdm.start_session(selectedSession);