Skip to content

Commit

Permalink
Remove return to throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pdavide committed May 13, 2021
1 parent f88ad5b commit 816e796
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions RestrictAnonymousAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ protected function checkIsAllowedRequest()
if (!$this->isAllowedRequest()) {
if (Request::isRootRequestApiRequest()) {
Common::sendResponseCode(403);

return;
}

if ($this->shouldRedirectUnallowedRequests()) {
Expand Down

0 comments on commit 816e796

Please sign in to comment.