Skip to content

Commit

Permalink
Fix CSRF issue
Browse files Browse the repository at this point in the history
  • Loading branch information
havok89 committed May 1, 2020
1 parent a5b0f6b commit 1094353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hoosk/hoosk0/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1094353

Please sign in to comment.