diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-04-21 21:24:33 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-04-21 21:24:33 +0200 |
commit | 1b228d28eda480cd189c68eadd1172c9409c6ef7 (patch) | |
tree | c4a9d526eeb4964146c5adc0e9747d05fa4e18b3 /lib/plugins/authad/auth.php | |
parent | 8e06db6889203ff5a40f4f121ba46c898564f628 (diff) | |
download | rpg-1b228d28eda480cd189c68eadd1172c9409c6ef7.tar.gz rpg-1b228d28eda480cd189c68eadd1172c9409c6ef7.tar.bz2 |
Rename ad_username to admin_username
canDo getUsers to false when unavailable
Diffstat (limited to 'lib/plugins/authad/auth.php')
-rw-r--r-- | lib/plugins/authad/auth.php | 4 |
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; |