csrf |
[eluser]nuclearmaker[/eluser]
how to change csrf ci_csrf_token name? any idea?
[eluser]CroNiX[/eluser]
Its not dynamic (it should be) /system/libraries/Security.php They're variables set at the top.
[eluser]CroNiX[/eluser]
I did create an issue in the tracker for this if you care to vote for it. http://codeigniter.uservoice.com/forums/...e-set-in-c
[eluser]nuclearmaker[/eluser]
from Eric Banes I like this idea. As a workaround you can do it manually now. In your controller just add: Code: $this->security->csrf_token_name = 'csrf_test';
[eluser]CroNiX[/eluser]
That was quick! Who says CI doesn't listen to the community?
[eluser]nuclearmaker[/eluser]
Code: $this->security->csrf_token_name = 'csrf_test'; now,i have problem to post csrf_test in jquery
[eluser]Cristian Gilè[/eluser]
or download the last source from: https://bitbucket.org/ellislab/codeigniter-reactor Cristian Gilè |
Welcome Guest, Not a member yet? Register Sign In |