summaryrefslogtreecommitdiffstats
path: root/etc/inc/authgui.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-16 21:26:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-16 21:26:57 +0000
commit990dc9cecfb0af826def203aa887a816e2d059d9 (patch)
treec63b9140ca7c0717a304a95a411be5d6fb8fa637 /etc/inc/authgui.inc
parentc8823c18c336b6f6b89159debbdc4098798bd4bb (diff)
downloadpfsense-990dc9cecfb0af826def203aa887a816e2d059d9.zip
pfsense-990dc9cecfb0af826def203aa887a816e2d059d9.tar.gz
* Remove blank trailing line
* Allow custom urls that include pkg.php to be saved
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r--etc/inc/authgui.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc
index 2bfe6fd..c7b2d49 100644
--- a/etc/inc/authgui.inc
+++ b/etc/inc/authgui.inc
@@ -76,6 +76,7 @@ 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']))) {
$_SESSION['privs'] = getAllowedGroups($HTTP_SERVER_VARS['AUTH_USER']);
$allowed = $_SESSION['privs'];
@@ -315,4 +316,4 @@ function display_login_form() {
<?php
} // end function
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud