diff options
author | Phil Davis <phil.davis@inf.org> | 2016-07-20 19:45:28 +0930 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-07-20 19:45:28 +0930 |
commit | 30505ba6c95c7e366135ef2cc38bf0c60c3056c7 (patch) | |
tree | fda11782410d0ef409bc47488298253546dcd4db /src/usr/local/www/system_usermanager_addprivs.php | |
parent | c9d6b915daced9767ff596ee9485ec2d9a573a41 (diff) | |
download | pfsense-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.php | 6 |
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'])) { |