summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_usermanager_addprivs.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-07-20 19:45:28 +0930
committerPhil Davis <phil.davis@inf.org>2016-07-20 19:45:28 +0930
commit30505ba6c95c7e366135ef2cc38bf0c60c3056c7 (patch)
treefda11782410d0ef409bc47488298253546dcd4db /src/usr/local/www/system_usermanager_addprivs.php
parentc9d6b915daced9767ff596ee9485ec2d9a573a41 (diff)
downloadpfsense-30505ba6c95c7e366135ef2cc38bf0c60c3056c7.zip
pfsense-30505ba6c95c7e366135ef2cc38bf0c60c3056c7.tar.gz
Backport Remove input_errors2Ajax calls
Original commit to master was https://github.com/pfsense/pfsense/commit/86d431a89d920f64dda5e7e1821f720daf6e067b
Diffstat (limited to 'src/usr/local/www/system_usermanager_addprivs.php')
-rw-r--r--src/usr/local/www/system_usermanager_addprivs.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php
index 306a389..3dfc341 100644
--- a/src/usr/local/www/system_usermanager_addprivs.php
+++ b/src/usr/local/www/system_usermanager_addprivs.php
@@ -103,12 +103,6 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
- /* if this is an AJAX caller then handle via JSON */
- if (isAjax() && is_array($input_errors)) {
- input_errors2Ajax($input_errors);
- exit;
- }
-
if (!$input_errors) {
if (!is_array($pconfig['sysprivs'])) {
OpenPOWER on IntegriCloud