diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-03 17:21:39 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-03 17:21:39 +0000 |
commit | 409105ecb6196e738abb0ecbdc3759b876ef0b41 (patch) | |
tree | a390ed7769dc401287f74af525425688d2802cce /etc | |
parent | ddd42db3a9e46d19526bd2988b1a1e1faaf0b091 (diff) | |
download | pfsense-409105ecb6196e738abb0ecbdc3759b876ef0b41.zip pfsense-409105ecb6196e738abb0ecbdc3759b876ef0b41.tar.gz |
Remove dead code.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index f033738..568b724 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -1073,14 +1073,8 @@ function session_auth() { } /* Show login page if they aren't logged in */ - if (empty($_SESSION['Logged_In'])) { - /* Don't display login forms to AJAX */ - //if (isAjax()) - // return false; - //require_once("authgui.inc"); - //display_login_form(); + if (empty($_SESSION['Logged_In'])) return false; - } /* If session timeout isn't set, we don't mark sessions stale */ if (!isset($config['system']['webgui']['session_timeout'])) { |