From 6c99a871288d01cf836c3e676c157302c9c48afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20L=C3=B3pez=20Guerra?= Date: Sat, 13 Feb 2016 00:58:36 -0300 Subject: [PATCH] Update index.md Little note that discourage the use of security.context for symfony 2.6 and above , since has been deprecated --- Resources/doc/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/doc/index.md b/Resources/doc/index.md index d52148a0..8e21f5e4 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -514,6 +514,7 @@ class YourApiController extends Controller // [...] } ``` +Note : As pointed out in Symfony blog , since Symfony 2.6 you should replace 'security.context' with 'security.authorization_checker'. ### Step 5: Configure FOSOAuthServerBundle