Changed name of IpBlockAccess to IpRestrictAccess & updated documentation.

This commit is contained in:
Simon Sessingø
2021-03-30 20:44:40 +02:00
parent 57047d23ea
commit 50b7129cab
4 changed files with 16 additions and 11 deletions
@@ -0,0 +1,14 @@
<?php
class IpRestrictMiddleware extends \Pecee\Http\Middleware\IpRestrictAccess {
protected $ipBlacklist = [
'5.5.5.5',
'8.8.*',
];
protected $ipWhitelist = [
'8.8.2.2',
];
}