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:
@@ -38,6 +38,7 @@ $show_disabled_ignored = $settings['show_disabled_and_ignored'];
|
||||
if (defined('SHOW_SETTINGS')) {
|
||||
$common_output[] = '
|
||||
<form class="form" onsubmit="widget_settings(this); return false;">
|
||||
' . csrf_field() . '
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<label for="title" class="control-label availability-map-widget-header">Widget title</label>
|
||||
|
Reference in New Issue
Block a user