summaryrefslogtreecommitdiffstats
path: root/etc/inc/authgui.inc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-03 20:31:23 -0500
committersullrich <sullrich@pfsense.org>2009-12-03 20:31:23 -0500
commit5c15e649a1644613c4660e618bda7a8e13db711d (patch)
treed25f66278f69c515fff88dca9a5ae010441fa8c8 /etc/inc/authgui.inc
parentc9dddd598b6851ed266980c87ee5770b31979a34 (diff)
downloadpfsense-5c15e649a1644613c4660e618bda7a8e13db711d.zip
pfsense-5c15e649a1644613c4660e618bda7a8e13db711d.tar.gz
Recommit #161 changes. It appears a different commit has broken firewall rules edit and firewall nat edit.
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r--etc/inc/authgui.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index 6fa3cfa..3f7c216 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -85,6 +85,7 @@ if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) {
if (count($allowedpages) > 0) {
$page = str_replace('*', '', $allowedpages[0]);
$_SESSION['Post_Login'] = true;
+ require_once("functions.inc");
pfSenseHeader("/{$page}");
exit;
} else {
@@ -100,6 +101,7 @@ if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) {
*/
if (!$_SESSION['Post_Login']) {
$_SESSION['Post_Login'] = true;
+ require_once("functions.inc");
pfSenseHeader($_SERVER['REQUEST_URI']);
exit;
}
OpenPOWER on IntegriCloud