Welcome Guest, Not a member yet? Register   Sign In
CSRF problem issue
#3

(02-17-2018, 03:49 AM)sidd89 Wrote: I am having a problem with csrf protection... I want to use it only in index page for login but after making the csrf config true it gives me error "action not allowed". How to remove other pages from csrf protection if i am using routing.??

Please anyone help me out

As you may well see in the documentation, you can whitelist pages where you don't want csrf: $config['csrf_exclude_uris']

https://codeigniter.com/user_guide/libra...urity.html
Reply


Messages In This Thread
CSRF problem issue - by sidd89 - 02-17-2018, 03:49 AM
RE: CSRF problem issue - by dave friend - 02-17-2018, 09:46 AM
RE: CSRF problem issue - by Avenirer - 02-17-2018, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB