Destroy session when invalid, use more compatible js path
This commit is contained in:
@@ -39,9 +39,9 @@ return array(
|
||||
"customErrorMessage" => "",
|
||||
"jsPath" => "../js/csrfprotector.js",
|
||||
// Fetching IS_HTTPS from sessions handler
|
||||
"jsUrl" => get_trusted_hostname(),
|
||||
"jsUrl" => "/inc/lib/vendor/owasp/csrf-protector-php/js/csrfprotector.js",
|
||||
"tokenLength" => 10,
|
||||
"secureCookie" => false,
|
||||
"disabledJavascriptMessage" => "",
|
||||
"verifyGetFor" => array()
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user