Destroy session when invalid, use more compatible js path

This commit is contained in:
andryyy committed 2017-05-14 21:54:18 +02:00
1 parent e795898b80
commit d06e938d0e
2 files changed
+7 -3

No files matched your search

@@ -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()
);
);