srs81 / CakePHP-AjaxMultiUpload

CakePHP 2 plugin to allow for easy multi-file upload with AJAX
Other
65 stars 32 forks source link

When using cake 2.5 with Auth Component #47

Closed notoriousturtle closed 9 years ago

notoriousturtle commented 10 years ago

Hi,

The solution you provided in the Gotchas section doesn't work for the latest Cake 2.5. Users need to edit UploadsController.php and add the following instead: public function beforeFilter() { parent::beforeFilter();

            //need to disable Security component
            $this->Security->unlockedActions = array('upload');
    }

Cheers.

visualex commented 10 years ago

ok cool!!!! thnx

srs81 commented 9 years ago

Thanks! I've updated the documentation to mention this and credited your GitHub handle as well.