From af58fc06ad45c3c127c80024a60689f75ad5d4b1 Mon Sep 17 00:00:00 2001 From: heper Date: Sat, 14 Nov 2015 12:00:25 +0100 Subject: fix Bug #5440 --- src/usr/local/www/diag_authentication.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/usr/local/www') diff --git a/src/usr/local/www/diag_authentication.php b/src/usr/local/www/diag_authentication.php index af1a621..85fd3bb 100644 --- a/src/usr/local/www/diag_authentication.php +++ b/src/usr/local/www/diag_authentication.php @@ -118,6 +118,12 @@ $section = new Form_Section('Authentication Test'); foreach (auth_get_authserver_list() as $auth_server) $serverlist[$auth_server['name']] = $auth_server['name']; +if (isset($config['system']['webgui']['authmode'])) { + $pconfig['authmode'] = &$config['system']['webgui']['authmode']; +} +else { + $pconfig['authmode'] = "Local Database"; +} $section->addInput(new Form_Select( 'authmode', 'Authentication Server', -- cgit v1.1