浏览代码

Skip domain in config

andryyy 8 年之前
父节点
当前提交
3ab77b1303
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php

+ 1 - 1
data/web/inc/lib/vendor/owasp/csrf-protector-php/libs/config.php

@@ -39,7 +39,7 @@ return array(
 	"customErrorMessage" => "",
 	"customErrorMessage" => "",
 	"jsPath" => "../js/csrfprotector.js",
 	"jsPath" => "../js/csrfprotector.js",
   // Fetching IS_HTTPS from sessions handler
   // Fetching IS_HTTPS from sessions handler
-	"jsUrl" => get_trusted_hostname(),
+	"jsUrl" => "/inc/lib/vendor/owasp/csrf-protector-php/js/csrfprotector.js",
 	"tokenLength" => 10,
 	"tokenLength" => 10,
 	"secureCookie" => false,
 	"secureCookie" => false,
 	"disabledJavascriptMessage" => "",
 	"disabledJavascriptMessage" => "",