Browse Source

add protection

andre 4 năm trước cách đây
mục cha
commit
4a7942e9fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      list.php

+ 1 - 1
list.php

@@ -15,7 +15,7 @@ if($act->isBlocked($clientIP)) {
     exit;
 }
 
-if ((new token)->isConsumer($token) == true) {
+if (!(new token)->isConsumer($token)) {
     $act->block($clientIP);
     echo "user access denied";
     exit;