mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSsession::getLSuserObject(): improve errors logging
This commit is contained in:
parent
3c02b94085
commit
3c6ce596d9
1 changed files with 2 additions and 0 deletions
|
@ -1141,10 +1141,12 @@ class LSsession {
|
|||
self :: $LSuserObject = new self :: $LSuserObjectType();
|
||||
if (!self :: $LSuserObject -> loadData(self :: $dn)) {
|
||||
self :: $LSuserObject = null;
|
||||
self :: log_error("getLSuserObject($dn): Fail to retrieve current connected user information from LDAP");
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
self :: log_error("getLSuserObject($dn): Current connected user object type not defined or can not be loaded (".self :: $LSuserObjectType.")");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue