Skip to content

Commit

Permalink
FIX: multiples ips and ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
daycry committed Feb 14, 2023
1 parent 37df851 commit 9c09bd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Validators/ApiKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public static function check(RequestInterface $request, array $args, object $pet
} elseif ($ip_address === trim($list_ip)) {
// there is a match, set the the value to TRUE and break out of the loop
$found_address = true;
}
if ($found_address) {
break;
}
}
Expand Down

0 comments on commit 9c09bd9

Please sign in to comment.