How to set csrf token in codeIgniter?

Member

kenny

by kenny , in category: Technology , a month ago

How to set csrf token in codeIgniter?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by trycia.jones , a month ago

Csrf is used to set the protection in CodeIgniter. To set csrf, you have to put the corresponding config value True.

1
Syntax: $config['csrf_protection'] = TRUE;