We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49fd000 commit 741ca50Copy full SHA for 741ca50
lib/Auth/Ldap.php
@@ -841,7 +841,7 @@ public function whoami($searchBase, $searchAttributes)
841
if (function_exists('ldap_exop_whoami')) {
842
if (version_compare(phpversion(), '7', '<')) {
843
/** @psalm-suppress TooManyArguments */
844
- if (ldap_exop_whoami($this->ldap, $authz_id) !== true) {
+ if (ldap_exop_whoami($this->ldap, $authz_id) === false) {
845
throw $this->makeException('LDAP whoami exop failure');
846
}
847
} else {
0 commit comments