Parcourir la source

disable csrf logging

Andrew Dolgov il y a 12 ans
Parent
commit
7a5d9b95c4
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      backend.php

+ 0 - 3
backend.php

@@ -37,9 +37,6 @@
 
 	$csrf_token = $_REQUEST['csrf_token'];
 
-	if (!$csrf_token)
-		error_log("[$op/$method] CSRF: [$csrf_token]\n", 3, "/tmp/csrf.log");
-
 	require_once "functions.php";
 	require_once "sessions.php";
 	require_once "sanity_check.php";