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:
@@ -110,6 +110,7 @@ $pagetitle[] = 'Add host';
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<form name="form1" method="post" action="" class="form-horizontal" role="form">
|
||||
<?php echo csrf_field() ?>
|
||||
<div><h2>Add Device</h2></div>
|
||||
<div class="alert alert-info">Devices will be checked for Ping/SNMP reachability before being probed.</div>
|
||||
<div class="well well-lg">
|
||||
|
Reference in New Issue
Block a user