Skip to content

Commit 9397e06

Browse files
committed
update check
1 parent afa806b commit 9397e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AuthorizationMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
6363
}
6464

6565
// No matching route. Everyone can access.
66-
if ($routeResult->isFailure() || $routeResult->getMatchedRouteName() === false) {
66+
if ($routeResult->getMatchedRouteName() === false) {
6767
return $handler->handle($request);
6868
}
6969

0 commit comments

Comments
 (0)