Skip to content

Commit 4edcc77

Browse files
author
robin.kluth
committed
error -> warning
1 parent bfeb325 commit 4edcc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LdapAuth.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function fetchUserData($attributes = "")
295295
if ($result) {
296296
$entries = ldap_get_entries($this->_l, $result);
297297
if ($entries['count'] > 1 || $entries['count'] == 0) {
298-
Yii::error('[FetchUserData]: Found 0 or more than one result!', __METHOD__);
298+
Yii::warning('[FetchUserData]: Found 0 or more than one result!', __METHOD__);
299299
return false;
300300
}
301301
if (!isset($entries[0]) && !isset($entries[0]['objectsid'])) {

0 commit comments

Comments
 (0)