config['csrf_protection'] = TRUE; // breaks Angular POST
brentreeves opened this issue · 1 comments
brentreeves commented
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
michalsn commented
Well... unfortunately codeigniter-restserver doesn't support CSRF :(