mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Enable CSRF protection (#10447)
* Enable CSRF protection * fix style issues
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user