From 1094353909ba21a7f7f4433b16ca2678515bda92 Mon Sep 17 00:00:00 2001 From: Callum Henry Date: Fri, 1 May 2020 14:58:43 +0100 Subject: [PATCH] Fix CSRF issue --- hoosk/hoosk0/config/config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hoosk/hoosk0/config/config.php b/hoosk/hoosk0/config/config.php index f3b3e51..2929b03 100644 --- a/hoosk/hoosk0/config/config.php +++ b/hoosk/hoosk0/config/config.php @@ -427,9 +427,9 @@ | '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_protection'] = TRUE; +$config['csrf_token_name'] = 'csrf_hoosk'; +$config['csrf_cookie_name'] = 'csrf_cookie_hoosk'; $config['csrf_expire'] = 7200; $config['csrf_regenerate'] = TRUE; $config['csrf_exclude_uris'] = array();