entrance: test if there is allready a User

devs/bu5hm4n/develop
Marcel Hollerbach 8 years ago
parent 15a5500763
commit 6761696f53
  1. 4
      src/daemon/entrance.c

@ -198,11 +198,13 @@ _entrance_display_ready(const char *dname)
}
else
{
//TODO test if there is allready a user loggind in
Entrance_Login *el;
Eina_List *l;
const char *session = NULL;
if (getenv("ENTRANCE_USER"))
return ECORE_CALLBACK_CANCEL;
PT("auth user\n");
entrance_pam_init("entrance", dname, NULL);
#ifdef HAVE_PAM

Loading…
Cancel
Save