summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-04 15:55:27 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-04 15:55:27 +0000
commit864336aa75543b748f2d0295db1e18eaf65cdacc (patch)
tree512056b9492c9bc363364a77a554656834c6676c /etc/inc/auth.inc
parentbb2e8e89754c792a10f18941244679082d780164 (diff)
downloadpfsense-864336aa75543b748f2d0295db1e18eaf65cdacc.zip
pfsense-864336aa75543b748f2d0295db1e18eaf65cdacc.tar.gz
Remove the authentication fallback it does not have any meaning now.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 568b724..302e1fe 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1052,7 +1052,6 @@ function session_auth() {
/* Validate incoming login request */
if (isset($_POST['login'])) {
$authcfg = auth_get_authserver($config['system']['webgui']['authmode']);
- /* Should check backend type for fallback. */
if (authenticate_user($_POST['usernamefld'], $_POST['passwordfld'], $authcfg) ||
authenticate_user($_POST['usernamefld'], $_POST['passwordfld'])) {
$_SESSION['Logged_In'] = "True";
OpenPOWER on IntegriCloud