Skip to content

Commit

Permalink
Merge pull request #214 from splitbrain/authadfixes
Browse files Browse the repository at this point in the history
Rename ad_usernamepassword to admin_username/password
  • Loading branch information
michitux committed Apr 21, 2013
2 parents 8e06db6 + 1b228d2 commit f64d0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/authad/auth.php
Expand Up @@ -469,10 +469,10 @@ protected function _loadServerConfig($domain) {
$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;
Expand Down

0 comments on commit f64d0e3

Please sign in to comment.