From 444e828699cc7b4a8f64a6b5564805cc1da8013d Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 17 Mar 2014 15:12:54 +0100 Subject: [PATCH] Fixed text attribute exports not working with the auth key in the url - legacy attribute export was broken due to the text action in the attributescontroller not being allowed globally --- app/Controller/AttributesController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controller/AttributesController.php b/app/Controller/AttributesController.php index 82fd87509..7a7a02c7a 100755 --- a/app/Controller/AttributesController.php +++ b/app/Controller/AttributesController.php @@ -25,6 +25,7 @@ class AttributesController extends AppController { $this->Auth->allow('restSearch'); $this->Auth->allow('returnAttributes'); $this->Auth->allow('downloadAttachment'); + $this->Auth->allow('text'); // permit reuse of CSRF tokens on the search page. if ('search' == $this->request->params['action']) {