From 8a0a995ca222a23c4a87ee592686885d08d1d181 Mon Sep 17 00:00:00 2001 From: martyshka Date: Thu, 4 Jun 2015 21:53:59 +0200 Subject: [PATCH] Fix typo in description Fix typo in description --- cookbook/security/api_key_authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/security/api_key_authentication.rst b/cookbook/security/api_key_authentication.rst index 41a4883ab77..f2e9fc7e824 100644 --- a/cookbook/security/api_key_authentication.rst +++ b/cookbook/security/api_key_authentication.rst @@ -634,7 +634,7 @@ current URL is before creating the token in ``createToken()``:: This uses the handy :class:`Symfony\\Component\\Security\\Http\\HttpUtils` class to check if the current URL matches the URL you're looking for. In this case, the URL (``/login/check``) has been hardcoded in the class, but you -could also inject it as the third constructor argument. +could also inject it as the second constructor argument. Next, just update your service configuration to inject the ``security.http_utils`` service: