Explorar o código

add protection

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
773848d37f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      list.php

+ 2 - 2
list.php

@@ -10,10 +10,10 @@ $token = substr(trim($_GET['token']),0,32);
 
 $act= new action;
 
-if($act->isBlocked($clientIP)) {
+/*if($act->isBlocked($clientIP)) {
     http_response_code(403);
     exit;
-}
+}*/
 
 if (!(new token)->isConsumer($token)) {
     $act->block($clientIP);