mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-12 08:26:20 +01:00
22 lines
456 B
PHP
Executable File
22 lines
456 B
PHP
Executable File
<?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' => [],
|
|
'CSRFP_TOKEN' => '',
|
|
'disabledJavascriptMessage' => '',
|
|
];
|