Skip to content

Commit

Permalink
Merge pull request #15 from PlasticStudio/hotfix/token
Browse files Browse the repository at this point in the history
remove security token to stop timeout error
  • Loading branch information
ebakernz authored Dec 5, 2021
2 parents 4e472d2 + 2ace9e9 commit eea052a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/SearchControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public function SearchForm(){
$name = 'SearchForm',
$fields = $fields,
$actions = $actions
)->addExtraClass('search-form');
)->addExtraClass('search-form')
->disableSecurityToken();

return $form;
}
Expand Down Expand Up @@ -191,7 +192,8 @@ public function AdvancedSearchForm(){
$name = 'AdvancedSearchForm',
$fields = $fields,
$actions = $actions
)->addExtraClass('search-form advanced-search-form');
)->addExtraClass('search-form advanced-search-form')
->disableSecurityToken();

return $form;
}
Expand Down

0 comments on commit eea052a

Please sign in to comment.