diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-08-07 02:41:23 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-08-07 02:41:23 -0400 |
commit | 2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4 (patch) | |
tree | 3399c26b1bb25d0167a1ccd3ca8432ba2f205b08 /usr/local/www | |
parent | 13a7ab353de0b76a50b7b99d16b3c1beac6cda08 (diff) | |
download | pfsense-2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4.zip pfsense-2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4.tar.gz |
correctly select Local Database when it's configured as such
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/system_usermanager_settings.php | 3 |
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; ?> |