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:
@@ -3,6 +3,7 @@
|
||||
echo "
|
||||
<h3><span class='label label-success threeqtr-width'>Add Service</span></h3>
|
||||
<form id='addsrv' name='addsrv' method='post' action='' class='form-horizontal' role='form'>
|
||||
" . csrf_field() . "
|
||||
<div class='well well-lg'>
|
||||
<div class='form-group'>
|
||||
<input type='hidden' name='addsrv' value='yes'>
|
||||
|
||||
Reference in New Issue
Block a user