Skip to content

Commit

Permalink
Merge pull request #306 from cakephp/dereuromark-patch-2
Browse files Browse the repository at this point in the history
Strict check around auth topic.
  • Loading branch information
ADmad authored Oct 29, 2019
2 parents 5de33a3 + f232b63 commit db4163e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/AuthenticationComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function startup()

$request = $this->getController()->request;
$action = $request->getParam('action');
if (in_array($action, $this->unauthenticatedActions)) {
if (in_array($action, $this->unauthenticatedActions, true)) {
return;
}

Expand Down

0 comments on commit db4163e

Please sign in to comment.