1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-28 08:40:41 +01:00
openstamanager/config/csrf_config.php

22 lines
456 B
PHP
Raw Normal View History

2018-07-08 18:25:36 +02:00
<?php
/**
* Configuration file for CSRF Protector.
*/
return [
'logDirectory' => DOCROOT.'/logs',
'failedAuthAction' => [
'GET' => 0,
'POST' => 0,
],
'jsUrl' => ROOTDIR.'/assets/dist/js/csrf/csrfprotector.js',
'tokenLength' => 10,
'cookieConfig' => [
'path' => ROOTDIR,
'secure' => isHTTPS(true),
],
'verifyGetFor' => [],
2018-07-19 12:47:28 +02:00
'CSRFP_TOKEN' => '',
'disabledJavascriptMessage' => '',
2018-07-08 18:25:36 +02:00
];