andre 4 лет назад
Родитель
Сommit
4a7942e9fb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      list.php

+ 1 - 1
list.php

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