Skip to content

Commit

Permalink
Merge branch 'master' of github.com:middlewares/firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Aug 2, 2020
2 parents 6906b51 + 3ca7218 commit 5e51989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface

if (!empty($this->whitelist)) {
$firewall->addList($this->whitelist, 'whitelist', true);
} else {
$firewall->setDefaultState(true);
}

if (!empty($this->blacklist)) {
Expand Down

0 comments on commit 5e51989

Please sign in to comment.