Enabling CSRF to TRUE in CodeIgniter |
try something like in form
Code: <input type="hidden" name="<?=$csrf['name'];?>" value="<?=$csrf['hash'];?>" /> do you also have: Code: $config['csrf_regenerate'] = TRUE; in the controller that you send the form data to put : Code: echo $this->security->get_csrf_token_name(); |
Messages In This Thread |
Enabling CSRF to TRUE in CodeIgniter - by FlanZarianick - 10-07-2022, 05:04 AM
RE: Enabling CSRF to TRUE in CodeIgniter - by firecode - 10-07-2022, 09:47 AM
RE: Enabling CSRF to TRUE in CodeIgniter - by captain-sensible - 10-07-2022, 10:56 AM
RE: Enabling CSRF to TRUE in CodeIgniter - by MatrickEganlan - 10-18-2022, 10:49 PM
|