mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
eck if $settings->_ldapBaseDN is set in order to prevent php warnings
This commit is contained in:
parent
fe0c8c2381
commit
4ce91b17cf
|
@ -68,8 +68,10 @@ if ((!isset($pwd) || strlen($pwd)==0) && ($login != $guestUser->getLogin())) {
|
|||
//
|
||||
|
||||
/* new code by doudoux - TO BE TESTED */
|
||||
$ldapSearchAttribut = "uid=";
|
||||
$tmpDN = "uid=".$login.",".$settings->_ldapBaseDN;
|
||||
if (isset($settings->_ldapBaseDN)) {
|
||||
$ldapSearchAttribut = "uid=";
|
||||
$tmpDN = "uid=".$login.",".$settings->_ldapBaseDN;
|
||||
}
|
||||
|
||||
if (isset($settings->_ldapType))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user