summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-04-21 21:24:33 +0200
committerKlap-in <klapinklapin@gmail.com>2013-04-21 21:24:33 +0200
commit1b228d28eda480cd189c68eadd1172c9409c6ef7 (patch)
treec4a9d526eeb4964146c5adc0e9747d05fa4e18b3 /lib
parent8e06db6889203ff5a40f4f121ba46c898564f628 (diff)
downloadrpg-1b228d28eda480cd189c68eadd1172c9409c6ef7.tar.gz
rpg-1b228d28eda480cd189c68eadd1172c9409c6ef7.tar.bz2
Rename ad_username to admin_username
canDo getUsers to false when unavailable
Diffstat (limited to 'lib')
-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;