Skip to content

Commit 6da4053

Browse files
authored
Merge pull request #336 from cakephp/hook-clarification
Clarify hook name
2 parents 37daf13 + 0979694 commit 6da4053

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/en/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Add the authentication middleware to the middleware queue. See the CakePHP `docu
2727
<http://book.cakephp.org/3.0/en/controllers/middleware.html>`_ on how to use
2828
middleware if you are not familiar with it.
2929

30-
Example of configuring the authentication middleware using ``authentication`` application hook::
30+
Example of configuring the authentication middleware using the ``getAuthenticationService()``
31+
hook within ``Application``::
3132

3233
use Authentication\AuthenticationService;
3334
use Authentication\AuthenticationServiceProviderInterface;

0 commit comments

Comments
 (0)