• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exclude url from csrf

#1
Hello
I use auto CSRF in my project
I need use it only web panel
But when i use api in my app and post data,csrf show error "not allowed"
Can i limit csrf for special controller example for controller/*?
Reply

#2
I found it
I use 'api/\S+' in exclude uri
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.