summaryrefslogtreecommitdiff
path: root/lib/plugins/authad
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/authad')
-rw-r--r--lib/plugins/authad/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/authad/auth.php b/lib/plugins/authad/auth.php
index f7f350c3f..5985cd18f 100644
--- a/lib/plugins/authad/auth.php
+++ b/lib/plugins/authad/auth.php
@@ -469,10 +469,10 @@ class auth_plugin_authad extends DokuWiki_Auth_Plugin {
$this->cando['modPass'] = false;
}
- if(isset($opts['ad_username']) && isset($opts['ad_password'])) {
+ if(isset($opts['admin_username']) && isset($opts['admin_password'])) {
$this->cando['getUsers'] = true;
} else {
- $this->cando['getUsers'] = true;
+ $this->cando['getUsers'] = false;
}
return $opts;