openstamanager/config/csrf_config.php

20 lines
392 B
PHP

<?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' => [],
];