summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_usermanager_settings.php
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-11-14 11:56:10 +0100
committerheper <heper@users.noreply.github.com>2015-11-14 11:56:10 +0100
commitbb10745a48a0d026bf1fa42689d7ea1284c34cf7 (patch)
treeb2a0f453314376fe2e797fefafa84cc500ae04ae /src/usr/local/www/system_usermanager_settings.php
parentc862d3b3887705a8abbdc758847e289a97369fc4 (diff)
downloadpfsense-bb10745a48a0d026bf1fa42689d7ea1284c34cf7.zip
pfsense-bb10745a48a0d026bf1fa42689d7ea1284c34cf7.tar.gz
fix Bug #5440
Diffstat (limited to 'src/usr/local/www/system_usermanager_settings.php')
-rw-r--r--src/usr/local/www/system_usermanager_settings.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/local/www/system_usermanager_settings.php b/src/usr/local/www/system_usermanager_settings.php
index b432548..a3320e3 100644
--- a/src/usr/local/www/system_usermanager_settings.php
+++ b/src/usr/local/www/system_usermanager_settings.php
@@ -67,7 +67,12 @@
require("guiconfig.inc");
$pconfig['session_timeout'] = &$config['system']['webgui']['session_timeout'];
-$pconfig['authmode'] = &$config['system']['webgui']['authmode'];
+if (isset($config['system']['webgui']['authmode'])) {
+ $pconfig['authmode'] = &$config['system']['webgui']['authmode'];
+}
+else {
+ $pconfig['authmode'] = "Local Database";
+}
$pconfig['backend'] = &$config['system']['webgui']['backend'];
// Page title for main admin
OpenPOWER on IntegriCloud