entrance: test if there is allready a User
This commit is contained in:
parent
15a5500763
commit
6761696f53
|
@ -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…
Reference in New Issue