summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-10-11 18:55:29 +0200
committerMichael Klier <chi@chimeric.de>2008-10-11 18:55:29 +0200
commitabe88ecbb1016580584d00091f6de364d509933f (patch)
treeb0654d2b93dd05a8b48250466d829569ac3678f8 /lib/plugins
parent2eccbdaacee808c072a68b7bfd961978025b2bcb (diff)
downloadrpg-abe88ecbb1016580584d00091f6de364d509933f.tar.gz
rpg-abe88ecbb1016580584d00091f6de364d509933f.tar.bz2
do not show basic auth class in configuration manager
darcs-hash:20081011165529-23886-b3e15b6316b57548dc040757d90d397fbb695dd4.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/config/settings/extra.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/config/settings/extra.class.php b/lib/plugins/config/settings/extra.class.php
index d85c17fcd..c731d8cfc 100644
--- a/lib/plugins/config/settings/extra.class.php
+++ b/lib/plugins/config/settings/extra.class.php
@@ -47,6 +47,7 @@ if (!class_exists('setting_authtype')) {
// populate $this->_choices with a list of available auth mechanisms
$authtypes = glob(DOKU_INC.'inc/auth/*.class.php');
$authtypes = preg_replace('#^.*/([^/]*)\.class\.php$#i','$1', $authtypes);
+ unset($authtypes[array_search('basic', $authtypes)]);
sort($authtypes);
$this->_choices = $authtypes;