diff options
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r-- | etc/inc/authgui.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index c3d6f32..7dc1779 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -68,10 +68,10 @@ if (isset($_POST['scriptname']) && isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) // Once here, the user has authenticated with the web server. // Now, we give them access only to the appropriate pages for their group. if (!(isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']))) { - $g['privs'] = getAllowedGroups($HTTP_SERVER_VARS['AUTH_USER']); - $allowed = $g['privs']; + $_SESSION['privs'] = getAllowedGroups($HTTP_SERVER_VARS['AUTH_USER']); + $allowed = $_SESSION['privs']; - $allowed_groups = print_r($g['privs'],true); + $allowed_groups = print_r($_SESSION['privs'],true); $fdny = fopen("/tmp/groups", "w"); fwrite($fdny, $allowed_groups); fclose($fdny); |