diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/diag_authentication.php | 6 |
1 files changed, 6 insertions, 0 deletions
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', |