Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
fix session attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Oct 15, 2015
1 parent 3890c0f commit f040cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/greeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f040cfd

Please sign in to comment.