Skip to content

Instantly share code, notes, and snippets.

@jlamim
Created April 27, 2016 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlamim/2b30d77b70e8264f06b9016e926c36e3 to your computer and use it in GitHub Desktop.
Save jlamim/2b30d77b70e8264f06b9016e926c36e3 to your computer and use it in GitHub Desktop.
Reforçando a segurança com CSRF - URIs
<?php
$config['csrf_exclude_uris'] = array('pessoas/add');
$config['csrf_exclude_uris'] = array(
'pessoa/[0-9]+',
'registro/[a-z]+'
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment