Skip to content

Commit

Permalink
Fix bug where user's selected session was not saved after exiting the…
Browse files Browse the repository at this point in the history
… greeter
  • Loading branch information
lots0logs committed Apr 17, 2017
1 parent 06efda3 commit 7faebc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/default/js/greeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,8 @@ class Theme {
* Greeter to log them in with the session they selected.
*/
authentication_complete() {
let selected_session = $( '.selected' ).attr( 'data-session-id' ),
err_msg = _config.translations.auth_failed;
let selected_session = $( '#session-list .selected' ).attr( 'data-session-id' ),
err_msg = _config.translations.auth_failed;

this.auth_pending = false;

Expand Down

0 comments on commit 7faebc3

Please sign in to comment.