summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorRS71 <mr.toaster@gmail.com>2011-12-31 19:02:50 +0100
committerRS71 <mr.toaster@gmail.com>2011-12-31 19:02:50 +0100
commit4b2e9fea1f34b4b2cff30b3211579e883b31005d (patch)
tree71f77b1ec7767e8b65bf4fa23bfec3af7b11e0c8 /application/config/config.php
parent2be25a6fdb9aa197debca28d1cfe0e0e542296b0 (diff)
Update application/config/config.php
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 063c3d5d1..70a9856fd 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -326,12 +326,14 @@ $config['global_xss_filtering'] = FALSE;
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
+| 'csrf_regenerate' = Regenerate token on every submission
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
*/
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
+$config['csrf_regenerate'] = TRUE;
$config['csrf_exclude_uris'] = array();
/*