Skip to content

Commit

Permalink
Remove extraneous CSRF check from search from
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Mar 21, 2024
1 parent 64fc4ad commit b4f22de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/frontend/components/searchForm_archive.tpl
Expand Up @@ -17,7 +17,6 @@
{$smarty.capture.searchFormUrl|parse_url:$smarty.const.PHP_URL_QUERY|strval|parse_str:$formUrlParameters}

<form class="pkp_search" action="{$smarty.capture.searchFormUrl|strtok:"?"|escape}" method="get" role="search" aria-label="{translate|escape key="submission.search"}">
{csrf}
{foreach from=$formUrlParameters key=paramKey item=paramValue}
<input type="hidden" name="{$paramKey|escape}" value="{$paramValue|escape}"/>
{/foreach}
Expand Down

0 comments on commit b4f22de

Please sign in to comment.