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

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