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:
@@ -32,6 +32,7 @@ if (!LegacyAuth::user()->isAdmin()) {
|
||||
|
||||
echo '
|
||||
<form role="form" class="form-horizontal" method="GET" action="">
|
||||
' . csrf_field() . '
|
||||
<input type="hidden" name="action" value="del">
|
||||
<div class="form-group">
|
||||
<label for="user_id" class="col-sm-2 control-label">Select User: </label>
|
||||
|
Reference in New Issue
Block a user