Remove debug
This commit is contained in:
parent
513db437de
commit
4e19dff864
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ function bindAuthenticate() {
|
||||||
var keycode = e.code || e.key;
|
var keycode = e.code || e.key;
|
||||||
if(keycode == "Enter"){
|
if(keycode == "Enter"){
|
||||||
const selectedUser = users[currentUser].id;
|
const selectedUser = users[currentUser].id;
|
||||||
console.log(`Authenticating ${selectedUser}`);
|
|
||||||
|
|
||||||
lightdm.authenticate(selectedUser);
|
lightdm.authenticate(selectedUser);
|
||||||
return;
|
return;
|
||||||
|
@ -12,13 +11,11 @@ function bindAuthenticate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
lightdm.show_prompt.connect((text, type) => {
|
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;
|
const selectedSession = sessions[currentSession].id;
|
||||||
console.log(`Starting session ${selectedSession}`)
|
|
||||||
lightdm.start_session(selectedSession);
|
lightdm.start_session(selectedSession);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue