Enable CSRF protection (#10447)

* Enable CSRF protection

* fix style issues
This commit is contained in:
Tony Murray
2019-07-17 07:20:26 -05:00
committed by GitHub
parent b085703b2d
commit 3ead462549
77 changed files with 105 additions and 7 deletions

View File

@@ -117,6 +117,7 @@ $max_oid = get_dev_attrib($device, 'snmp_max_oid');
echo "
<form id='edit' name='edit' method='post' action='' role='form' class='form-horizontal'>
" . csrf_field() . "
<div class='form-group'>
<label for='hardware' class='col-sm-2 control-label'>SNMP</label>
<div class='col-sm-4'>