Skip to content

Commit

Permalink
add missing csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Nov 2, 2023
1 parent cdb0fa5 commit 186390a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/measures/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
</form>
&nbsp;
<form action="/alice/delete/{{ $measure->id }}" method="POST" onSubmit="if(!confirm('{{ trans('common.confirm') }}')){return false;}">
@csrf
<button class="button alert" type="submit">
<span class="mif-fire"></span>
&nbsp;
Expand Down

0 comments on commit 186390a

Please sign in to comment.