Skip to content

Commit db4163e

Browse files
authored
Merge pull request #306 from cakephp/dereuromark-patch-2
Strict check around auth topic.
2 parents 5de33a3 + f232b63 commit db4163e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/Component/AuthenticationComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function startup()
137137

138138
$request = $this->getController()->request;
139139
$action = $request->getParam('action');
140-
if (in_array($action, $this->unauthenticatedActions)) {
140+
if (in_array($action, $this->unauthenticatedActions, true)) {
141141
return;
142142
}
143143

0 commit comments

Comments
 (0)