diff options
author | Michael Hamann <michael@content-space.de> | 2013-04-21 12:49:36 -0700 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-04-21 12:49:36 -0700 |
commit | f64d0e32f724871127f9e0a379356f7e7ecf43ef (patch) | |
tree | c4a9d526eeb4964146c5adc0e9747d05fa4e18b3 /lib/plugins/authad | |
parent | 8e06db6889203ff5a40f4f121ba46c898564f628 (diff) | |
parent | 1b228d28eda480cd189c68eadd1172c9409c6ef7 (diff) | |
download | rpg-f64d0e32f724871127f9e0a379356f7e7ecf43ef.tar.gz rpg-f64d0e32f724871127f9e0a379356f7e7ecf43ef.tar.bz2 |
Merge pull request #214 from splitbrain/authadfixes
Rename ad_usernamepassword to admin_username/password
Diffstat (limited to 'lib/plugins/authad')
-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; |