Skip to content

Commit 9c09bd9

Browse files
committed
FIX: multiples ips and ranges
1 parent 37df851 commit 9c09bd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Validators/ApiKey.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public static function check(RequestInterface $request, array $args, object $pet
4949
} elseif ($ip_address === trim($list_ip)) {
5050
// there is a match, set the the value to TRUE and break out of the loop
5151
$found_address = true;
52+
}
53+
if ($found_address) {
5254
break;
5355
}
5456
}

0 commit comments

Comments
 (0)