andryyy 8 лет назад
Родитель
Сommit
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" => "",
 	"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" => "",