summaryrefslogtreecommitdiffstats
path: root/etc/inc/authgui.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-01 00:06:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-01 00:06:18 +0000
commit2f650197fb6965318123c40e6747558761063dfc (patch)
tree0431742cf39652831587be089b80b29f6fc389c3 /etc/inc/authgui.inc
parentb97bcfd51d77da08bd30a9d81c8bcfd4fcc2e9a0 (diff)
downloadpfsense-2f650197fb6965318123c40e6747558761063dfc.zip
pfsense-2f650197fb6965318123c40e6747558761063dfc.tar.gz
* Missing =
* Allow user manager to adhere to admins group
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r--etc/inc/authgui.inc6
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);
OpenPOWER on IntegriCloud