Skip to content

Instantly share code, notes, and snippets.

@kresnasatya
Created December 29, 2016 22:01
Show Gist options
  • Save kresnasatya/8d873303034ac90ae22713535b41450a to your computer and use it in GitHub Desktop.
Save kresnasatya/8d873303034ac90ae22713535b41450a to your computer and use it in GitHub Desktop.
Piece of bunch config.php for CSRF
// 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