forked from miguel456/rbrecruiter
Added CSRF protection to settings
This commit is contained in:
parent
faa3a65e2b
commit
42de40e320
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form name="settings" id="settings" method="post" action="{{route('saveSettings')}}">
|
<form name="settings" id="settings" method="post" action="{{route('saveSettings')}}">
|
||||||
|
@csrf
|
||||||
@foreach($options as $option)
|
@foreach($options as $option)
|
||||||
<div class="form-group form-check">
|
<div class="form-group form-check">
|
||||||
<!-- Unchecked checkbox hack: This only works for serverside languages that process the last duplicate element, since the browser sends both the hidden and checkbox values. -->
|
<!-- Unchecked checkbox hack: This only works for serverside languages that process the last duplicate element, since the browser sends both the hidden and checkbox values. -->
|
||||||
|
|
Loading…
Reference in New Issue