summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2007-08-06 03:14:31 +0000
committerBill Marquette <billm@pfsense.org>2007-08-06 03:14:31 +0000
commit8ef95644a3e8724924a3167f032e0ca3fb8ff7fb (patch)
treee5bede7949fa03e387c38209f016f2e5d1866608 /usr
parent0fb5206f467f3af205da98f37b9acbaf98b97694 (diff)
downloadpfsense-8ef95644a3e8724924a3167f032e0ca3fb8ff7fb.zip
pfsense-8ef95644a3e8724924a3167f032e0ca3fb8ff7fb.tar.gz
Reset $userent - it gets set somewhere and grants users full priviledges
after creation
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_usermanager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php
index 24e2b86..3e8133c 100644
--- a/usr/local/www/system_usermanager.php
+++ b/usr/local/www/system_usermanager.php
@@ -125,6 +125,7 @@ if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER'])) {
}
if (!$input_errors) {
+ $userent = "";
if (isset($id) && $a_user[$id])
$userent = $a_user[$id];
OpenPOWER on IntegriCloud