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

@@ -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">