diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-19 13:22:43 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-19 13:23:53 -0200 |
commit | 821a4351bf85b3934ba6ba2a8f2b91b2b2365a8e (patch) | |
tree | 1a62198dfff61fc7e3a0d4eab55ed64bfa058dc0 /src/etc/inc/openvpn.auth-user.php | |
parent | 05419ce6c935e11ed258fc5976024d4cdd0e62d8 (diff) | |
download | pfsense-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/etc/inc/openvpn.auth-user.php')
-rw-r--r-- | src/etc/inc/openvpn.auth-user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/openvpn.auth-user.php b/src/etc/inc/openvpn.auth-user.php index bd75502..f994eb7 100644 --- a/src/etc/inc/openvpn.auth-user.php +++ b/src/etc/inc/openvpn.auth-user.php @@ -144,7 +144,7 @@ if (!is_array($authmodes)) { $attributes = array(); foreach ($authmodes as $authmode) { $authcfg = auth_get_authserver($authmode); - if (!$authcfg && $authmode != "local") { + if (!$authcfg && $authmode != "Local Database") { continue; } |