Created
December 29, 2016 22:01
-
-
Save kresnasatya/8d873303034ac90ae22713535b41450a to your computer and use it in GitHub Desktop.
Piece of bunch config.php for CSRF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Piece of bunch config.php | |
$config['csrf_protection'] = TRUE; | |
$config['csrf_token_name'] = 'csrf_token'; | |
$config['csrf_cookie_name'] = 'csrf_cookie'; | |
$config['csrf_expire'] = 7200; | |
$config['csrf_regenerate'] = TRUE; | |
$config['csrf_exclude_uris'] = array(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment