From abe88ecbb1016580584d00091f6de364d509933f Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Sat, 11 Oct 2008 18:55:29 +0200 Subject: do not show basic auth class in configuration manager darcs-hash:20081011165529-23886-b3e15b6316b57548dc040757d90d397fbb695dd4.gz --- lib/plugins/config/settings/extra.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/config/settings/extra.class.php') 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; -- cgit v1.2.3