summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-08-07 02:41:23 -0400
committerChris Buechler <cmb@pfsense.org>2010-08-07 02:41:23 -0400
commit2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4 (patch)
tree3399c26b1bb25d0167a1ccd3ca8432ba2f205b08 /usr/local/www
parent13a7ab353de0b76a50b7b99d16b3c1beac6cda08 (diff)
downloadpfsense-2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4.zip
pfsense-2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4.tar.gz
correctly select Local Database when it's configured as such
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_usermanager_settings.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php
index 0a52028..cba9d57 100755
--- a/usr/local/www/system_usermanager_settings.php
+++ b/usr/local/www/system_usermanager_settings.php
@@ -139,6 +139,9 @@ if(!$pconfig['backend'])
$selected = "";
if ($auth_server['name'] == $pconfig['authmode'])
$selected = "selected";
+ if (!isset($pconfig['authmode']) && $auth_server['name'] == "Local Database")
+ $selected = "selected";
+
?>
<option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option>
<?php endforeach; ?>
OpenPOWER on IntegriCloud