Skip to content

Commit

Permalink
error -> warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robin.kluth committed May 30, 2022
1 parent bfeb325 commit 4edcc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LdapAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function fetchUserData($attributes = "")
if ($result) {
$entries = ldap_get_entries($this->_l, $result);
if ($entries['count'] > 1 || $entries['count'] == 0) {
Yii::error('[FetchUserData]: Found 0 or more than one result!', __METHOD__);
Yii::warning('[FetchUserData]: Found 0 or more than one result!', __METHOD__);
return false;
}
if (!isset($entries[0]) && !isset($entries[0]['objectsid'])) {
Expand Down

0 comments on commit 4edcc77

Please sign in to comment.