diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2012-06-12 11:08:46 -0300 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2012-06-12 11:08:46 -0300 |
commit | 14f5f7051edce0cdc930a4af73592b25f4abafa7 (patch) | |
tree | 69c5f17854455457186479db37d3db1ebab753a9 /etc/inc/authgui.inc | |
parent | c449c5f639e5242f67c59b65d8fa094a7fd62f38 (diff) | |
download | pfsense-14f5f7051edce0cdc930a4af73592b25f4abafa7.zip pfsense-14f5f7051edce0cdc930a4af73592b25f4abafa7.tar.gz |
fix permissions check to xml package files and show only menus user has access to
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r-- | etc/inc/authgui.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index ae59197..1591c07 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'])) { +if (!isAllowedPage($_SERVER['REQUEST_URI'])) { if (count($allowedpages) > 0) { $page = str_replace('*', '', $allowedpages[0]); $_SESSION['Post_Login'] = true; |