EllisLab text mark
Advanced Search
Disable CSRF Protection for One Action
Posted: 25 September 2011 10:03 AM
Joined: 2008-09-07
119 posts

Has anyone successfully disabled the CSRF protection in only a single controller action? I need to allow a POST request from a script but I do not want to disable it for the entire site.

Thanks in advance.


Branson Web Design
Branson Real Estate

Posted: 25 September 2011 09:39 PM   [ # 1 ]   [ Rating: 0 ]
Joined: 2006-12-04
515 posts

This is now in the develop branch and will be available in the next release. If you need it sooner view the changes here:


Eric Barnes | Twitter