Welcome Guest, Not a member yet? Register   Sign In
Enabling CSRF to TRUE in CodeIgniter
#2

(This post was last modified: 12-20-2022, 03:49 AM by captain-sensible.)

is this any help https://code.tutsplus.com/tutorials/prot...-net-19644

basically it shows how to check if token was produced. im using CI4 and i did wonder if a csrf token was being produced; i confirmed that in CI4 , in the controller that is sent data from form to process

Code:
$lucky= $this->request->getVar(csrf_token());
        //above i used to check there was a token which can be echoed out
CMS CI4     I use Arch Linux by the way 

Reply


Messages In This Thread
RE: Enabling CSRF to TRUE in CodeIgniter - by captain-sensible - 12-20-2022, 03:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB