summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_authentication.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/diag_authentication.php')
-rw-r--r--src/usr/local/www/diag_authentication.php6
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',
OpenPOWER on IntegriCloud