Make AuthController.php compatible with php8.1+
php api changed https://www.php.net/manual/en/class.ldap-result.php
This commit is contained in:
parent
9c85698c28
commit
4d791aad06
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ abstract class AuthController extends Controller
|
|||
$searchFilter,
|
||||
$ldapAddributes
|
||||
);
|
||||
if (!is_resource($ldapSearchResp)) {
|
||||
if (!$ldapSearchResp) {
|
||||
$this->logger->debug(ldap_error($server));
|
||||
$this->logger->error("User LDAP search for user $username failed");
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue