Skip to content

Commit

Permalink
Merge pull request #20 from mezzio/1.4.x-merge-up-into-1.5.x_RjNEEb9q
Browse files Browse the repository at this point in the history
Merge release 1.4.1 into 1.5.x
  • Loading branch information
Ocramius authored Sep 20, 2022
2 parents 679a406 + d5aa8c5 commit 9d521b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/book/v1/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ authentication, use [path-segregation](https://docs.laminas.dev/laminas-stratigi
use Mezzio\Authentication\AuthenticationMiddleware;

// In the callback:
$app->pipe('/api', $factory->path(
$factory->prepare(AuthenticationMiddleware::class)
));
$app->pipe('/api', AuthenticationMiddleware::class);
```

## For a specific route
Expand Down

0 comments on commit 9d521b7

Please sign in to comment.