Merge pull request #532 from nebulade/patch-1

This commit is contained in:
Sergio Brighenti 2023-05-25 10:39:29 +02:00 committed by GitHub
commit 49c7b60137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ abstract class AuthController extends Controller
$searchFilter, $searchFilter,
$ldapAddributes $ldapAddributes
); );
if (!is_resource($ldapSearchResp)) { if (!$ldapSearchResp) {
$this->logger->debug(ldap_error($server)); $this->logger->debug(ldap_error($server));
$this->logger->error("User LDAP search for user $username failed"); $this->logger->error("User LDAP search for user $username failed");
return null; return null;