]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LdapCommon/LdapCommon.php
better layout for single-bookmark page
[quix0rs-gnu-social.git] / plugins / LdapCommon / LdapCommon.php
index 159b2d265a2c13c123f04c7e21620d01d310a672..ef0343be435a356f5e700d8dbfd76c0147f4ca39 100644 (file)
@@ -140,7 +140,7 @@ class LdapCommon
 
     function checkPassword($username, $password)
     {
-        $entry = $this->get_user($username);
+        $entry = $this->get_user($username,array('dn' => 'dn'));
         if(!$entry){
             return false;
         }else{
@@ -168,7 +168,7 @@ class LdapCommon
             //throw new Exception(_('Sorry, changing LDAP passwords is not supported at this time'));
             return false;
         }
-        $entry = $this->get_user($username);
+        $entry = $this->get_user($username,array('dn' => 'dn'));
         if(!$entry){
             return false;
         }else{