diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 10:47:47 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 10:48:25 -0500 |
commit | 4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1 (patch) | |
tree | 44a60f536cefad3d50cefccf780c98094e217d1a /src/usr/local/www/system_usermanager_addprivs.php | |
parent | ac4fe723a521e35a29fb55075cdfdb2230d74aa2 (diff) | |
download | pfsense-4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1.zip pfsense-4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1.tar.gz |
Revisions to GET/POST conversion limiting POSTs to save, apply, and delete functions
Diffstat (limited to 'src/usr/local/www/system_usermanager_addprivs.php')
-rw-r--r-- | src/usr/local/www/system_usermanager_addprivs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php index dec52b6..21b077d 100644 --- a/src/usr/local/www/system_usermanager_addprivs.php +++ b/src/usr/local/www/system_usermanager_addprivs.php @@ -34,8 +34,8 @@ function admusercmp($a, $b) { require_once("guiconfig.inc"); -if (isset($_POST['userid']) && is_numericint($_POST['userid'])) { - $userid = $_POST['userid']; +if (isset($_REQUEST['userid']) && is_numericint($_REQUEST['userid'])) { + $userid = $_REQUEST['userid']; } $pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Users"), gettext("Edit"), gettext("Add Privileges")); |