Skip to content
Snippets Groups Projects
Commit 0ba750c0 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed retrieveUser function in authad

previously it never returned any users
parent 08d1a8df
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,7 @@ class auth_plugin_authad extends DokuWiki_Auth_Plugin {
$adldap = $this->_adldap(null);
if(!$adldap) return false;
if($this->users === null) {
if(!$this->users) {
//get info for given user
$result = $adldap->user()->all();
if (!$result) return array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment