From 5c041688f9c20226a36f6cb63008cbbb3589b3cf Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Thu, 15 Oct 2015 14:52:27 -0500 Subject: [PATCH] fix session attribute name --- themes/antergos/js/greeter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/antergos/js/greeter.js b/themes/antergos/js/greeter.js index baf589e..05b24f5 100644 --- a/themes/antergos/js/greeter.js +++ b/themes/antergos/js/greeter.js @@ -49,7 +49,7 @@ $(document).ready(function () { userList = $('#user-list2'); for (var i in lightdm.users) { var user = lightdm.users[i]; - var tux = 'img/screenshot1.jpg'; + var tux = 'img/antergos-logo-user.png'; var imageSrc = user.image.length > 0 ? user.image : tux; var lastSession = localStorage.getItem(user.name); if (lastSession == null && lastSession == undefined) { @@ -347,7 +347,7 @@ function authentication_complete() { log("authentication_complete()"); authPending = false; $('#timerArea').hide(); - var selSession = $('.selected').attr('id'); + var selSession = $('.selected').attr('data-session-id'); if (lightdm.is_authenticated) { log("authenticated !"); lightdm.login(lightdm.authentication_user, selSession);