summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-18 06:44:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-18 06:44:41 +0000
commit58c30ba438c857792bbd90dc4c91ce8c62518e1d (patch)
tree3ea7150c141596dccc233793a869a0a227f44f4e /usr
parent73d0efb9f3733ccba606baad6994ca8c507aabe6 (diff)
downloadpfsense-58c30ba438c857792bbd90dc4c91ce8c62518e1d.zip
pfsense-58c30ba438c857792bbd90dc4c91ce8c62518e1d.tar.gz
Sync w/ RELENG_1
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_usermanager.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php
index 1e06c87..b367351 100644
--- a/usr/local/www/system_usermanager.php
+++ b/usr/local/www/system_usermanager.php
@@ -32,18 +32,18 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require("globals.inc");
require("guiconfig.inc");
// The page title for non-admins
$pgtitle = array("System","User Password");
/* Check for custom priv system_usermanager (no .php ending) */
+$isAdminUser = false;
$allowed = $g['privs'];
if(is_array($allowed))
if (in_array("system_usermanager", $allowed))
$isAdminUser = true;
-if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) or $isAdminUser) {
+if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) or $isAdminUser == true) {
// Page title for main admin
$pgtitle = array("System","User Manager");
@@ -175,6 +175,7 @@ if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) or $isAdminUser) {
}
include("head.inc");
+ echo $pfSenseHead->getHTML();
?>
<body link="#000000" vlink="#000000" alink="#000000" onload="<?= $jsevents["body"]["onload"] ?>">
@@ -491,3 +492,4 @@ if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) or $isAdminUser) {
<?php include("fend.inc");?>
</body>
</html>
+
OpenPOWER on IntegriCloud