summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_authentication.php
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-11-14 12:00:25 +0100
committerheper <heper@users.noreply.github.com>2015-11-14 12:00:25 +0100
commitaf58fc06ad45c3c127c80024a60689f75ad5d4b1 (patch)
tree525812f9b029ec5e7124b95f33a60159c8026b2d /src/usr/local/www/diag_authentication.php
parentbb10745a48a0d026bf1fa42689d7ea1284c34cf7 (diff)
downloadpfsense-af58fc06ad45c3c127c80024a60689f75ad5d4b1.zip
pfsense-af58fc06ad45c3c127c80024a60689f75ad5d4b1.tar.gz
fix Bug #5440
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