Skip to content

Commit

Permalink
Add missing csrf_token field
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubtobiasz committed Nov 4, 2022
1 parent 44e15ee commit 469fde9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/orderRefunds.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
</div>
</div>
<form action="{{ path('sylius_refund_refund_units', {'orderNumber': app.request.attributes.get('orderNumber')}) }}" method="post">
<input type="hidden" name="_csrf_token" value="{{ csrf_token(app.request.attributes.get('orderNumber')) }}" />
<table id="refunds" class="ui compact celled table">
<thead>
<tr>
Expand Down

0 comments on commit 469fde9

Please sign in to comment.