diff --git a/src/daemon/entrance.c b/src/daemon/entrance.c index fc9aa64..7870ecd 100644 --- a/src/daemon/entrance.c +++ b/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