summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_usermanager_settings.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-19 13:22:43 -0200
committerRenato Botelho <renato@netgate.com>2015-11-19 13:23:53 -0200
commit821a4351bf85b3934ba6ba2a8f2b91b2b2365a8e (patch)
tree1a62198dfff61fc7e3a0d4eab55ed64bfa058dc0 /src/usr/local/www/system_usermanager_settings.php
parent05419ce6c935e11ed258fc5976024d4cdd0e62d8 (diff)
downloadpfsense-821a4351bf85b3934ba6ba2a8f2b91b2b2365a8e.zip
pfsense-821a4351bf85b3934ba6ba2a8f2b91b2b2365a8e.tar.gz
Use full 'Local Database' name to be sure it's authmode is local, fixes #4469
Diffstat (limited to 'src/usr/local/www/system_usermanager_settings.php')
-rw-r--r--src/usr/local/www/system_usermanager_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_usermanager_settings.php b/src/usr/local/www/system_usermanager_settings.php
index a3320e3..811cb1d 100644
--- a/src/usr/local/www/system_usermanager_settings.php
+++ b/src/usr/local/www/system_usermanager_settings.php
@@ -91,7 +91,7 @@ if ($_POST) {
}
if (!$input_errors) {
- if ($_POST['authmode'] != "local") {
+ if ($_POST['authmode'] != "Local Database") {
$authsrv = auth_get_authserver($_POST['authmode']);
if ($_POST['savetest']) {
if ($authsrv['type'] == "ldap") {
OpenPOWER on IntegriCloud