summaryrefslogtreecommitdiffstats
path: root/etc/inc/authgui.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-07-13 10:36:44 -0400
committerjim-p <jimp@pfsense.org>2010-07-13 10:36:44 -0400
commitd2c89b6207b8c21a253e29fb5999113413318c9b (patch)
tree62a5d4da5dbd640da6a35e74515a344c5bbba3eb /etc/inc/authgui.inc
parent51599b2094b5f599fb3476ebc916fd6e91b2ad2d (diff)
downloadpfsense-d2c89b6207b8c21a253e29fb5999113413318c9b.zip
pfsense-d2c89b6207b8c21a253e29fb5999113413318c9b.tar.gz
Fix this function call, it only takes one parameter.
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r--etc/inc/authgui.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index 0747452..ca97818 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -56,7 +56,7 @@ $allowedpages = getAllowedPages($HTTP_SERVER_VARS['AUTH_USER']);
/*
* redirect to first allowed page if requesting a wrong url
*/
-if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) {
+if (!isAllowedPage($_SERVER['SCRIPT_NAME'])) {
if (count($allowedpages) > 0) {
$page = str_replace('*', '', $allowedpages[0]);
$_SESSION['Post_Login'] = true;
OpenPOWER on IntegriCloud