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);
|
||||
}
|
||||
$result = array();
|
||||
foreach($this->users as $user) {
|
||||
foreach(array_keys($this->users) as $user) {
|
||||
if(stripos($user, $search) !== false) {
|
||||
$result[] = $user;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue