fix: [attribute search] Don't use form tampering protection for searches

pull/7377/head
iglocska 2021-04-27 09:45:11 +02:00
parent a0b1d0964e
commit 0dea395298
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class AttributesController extends AppController
$this->Security->csrfCheck = false;
}
$this->Security->unlockedActions[] = 'getMassEditForm';
$this->Security->unlockedActions[] = 'search';
if ($this->action == 'add_attachment') {
$this->Security->disabledFields = array('values');
}