Skip to content

Commit

Permalink
Removed check for getIsActionRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Jun 27, 2021
1 parent d7a9537 commit 5c8bb08
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/SnaptchaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ public function getPostedValues(): array
*/
public function isExcludedControllerAction(Action $action): bool
{
if (!Craft::$app->getRequest()->getIsActionRequest()) {
return false;
}

$controllerAction = $action->getUniqueId();

// Fire a before event
Expand Down

0 comments on commit 5c8bb08

Please sign in to comment.