diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-12 16:55:58 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 16:06:08 +0200 |
commit | b6163183276470039f3a2a2094d1a6224c272f28 (patch) | |
tree | d45ec52cb1af52cdb35e3323ba4ed00e7c8e0184 /apps/user_ldap/lib/User_LDAP.php | |
parent | db2e9df5f000b129e9dad2ce801baada0a17a8a4 (diff) | |
download | nextcloud-server-b6163183276470039f3a2a2094d1a6224c272f28.tar.gz nextcloud-server-b6163183276470039f3a2a2094d1a6224c272f28.zip |
Fix several minor issues
Diffstat (limited to 'apps/user_ldap/lib/User_LDAP.php')
-rw-r--r-- | apps/user_ldap/lib/User_LDAP.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 1000f3ba530..87c603fc753 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -98,7 +98,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn public function getLDAPUserByLoginName($loginName) { //find out dn of the user name $attrs = $this->access->userManager->getAttributes(); - $users = $this->access->fetchUsersByLoginName($loginName, $attrs, 1); + $users = $this->access->fetchUsersByLoginName($loginName, $attrs); if(count($users) < 1) { throw new \Exception('No user available for the given login name on ' . $this->access->connection->ldapHost . ':' . $this->access->connection->ldapPort); |