Skip to content

Commit

Permalink
Merge pull request #532 from nebulade/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed May 25, 2023
2 parents 9c85698 + 4d791aa commit 49c7b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controllers/Auth/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function getLdapRdn(string $username, $server)
$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;
Expand Down

0 comments on commit 49c7b60

Please sign in to comment.