loop over usernames, not passwords
This commit is contained in:
parent
f3ecf819ec
commit
16275eca84
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class OC_User_Dummy extends OC_User_Backend {
|
||||||
return array_keys($this->users);
|
return array_keys($this->users);
|
||||||
}
|
}
|
||||||
$result = array();
|
$result = array();
|
||||||
foreach($this->users as $user) {
|
foreach(array_keys($this->users) as $user) {
|
||||||
if(stripos($user, $search) !== false) {
|
if(stripos($user, $search) !== false) {
|
||||||
$result[] = $user;
|
$result[] = $user;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue