entrance: fix autologin

This commit is contained in:
Michael Bouchaud 2014-09-10 21:01:51 +00:00
parent 44e1a9c892
commit 1872433afa
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ main (int argc, char ** argv)
ecore_main_loop_begin();
PT("auth user\n");
#ifdef HAVE_PAM
entrance_pam_init(PACKAGE, dname, NULL);
entrance_pam_item_set(ENTRANCE_PAM_ITEM_USER, entrance_config->userlogin);
#endif
PT("login user\n");