michalsn/CodeIgniter-AngularJS-App

config['csrf_protection'] = TRUE; // breaks Angular POST

brentreeves opened this issue · 1 comments

In CI application/config/config.php, setting

config['csrf_protection'] = TRUE;

causes core/Security.php to die in csrf_verify() and throw a 500

How to get csrf protection with AngularJS and CI?
-brent

Well... unfortunately codeigniter-restserver doesn't support CSRF :(