diff options
author | heper <heper@users.noreply.github.com> | 2015-11-14 11:56:10 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-11-14 11:56:10 +0100 |
commit | bb10745a48a0d026bf1fa42689d7ea1284c34cf7 (patch) | |
tree | b2a0f453314376fe2e797fefafa84cc500ae04ae /src/usr/local/www/system_usermanager_settings.php | |
parent | c862d3b3887705a8abbdc758847e289a97369fc4 (diff) | |
download | pfsense-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.php | 7 |
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 |