Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
add missing csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Apr 13, 2024
1 parent 48a7dc0 commit b12f84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/import.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
count: total_count,
href: '#',
}) }}
<input type="hidden" name="_glpi_csrf_token" value="{{ csrf_token() }}"/>
<div class="table-responsive text-center">
<table id="import_table" class="table table-striped">
<thead>
Expand Down
1 change: 1 addition & 0 deletions templates/merge.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
count: total_count,
href: '#',
}) }}
<input type="hidden" name="_glpi_csrf_token" value="{{ csrf_token() }}"/>
<div class="table-responsive text-center">
<table id="merge_table" class="table table-striped">
<thead>
Expand Down

0 comments on commit b12f84f

Please sign in to comment.