mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
form csrf missing (#11282)
The csrf field is missing and you can not list all custom oids if there are more than 10 because the form fails. How to reproduce: Create more than 10 custom oids and then try to go to page 2 or change the total showed on the page to more than 10.
This commit is contained in:
@@ -18,6 +18,7 @@ $no_refresh = true;
|
||||
|
||||
<?php
|
||||
|
||||
echo csrf_field();
|
||||
if (isset($_POST['num_of_rows']) && $_POST['num_of_rows'] > 0) {
|
||||
$rows = $_POST['rows'];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user