From 56d9f00b1135d95f43d438b05534375ea756fe2e Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 8 May 2017 12:32:18 +0200 Subject: [PATCH] fix remaining setDefinition() call --- security/custom_authentication_provider.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/custom_authentication_provider.rst b/security/custom_authentication_provider.rst index 81800cf195f..a49aba4e722 100644 --- a/security/custom_authentication_provider.rst +++ b/security/custom_authentication_provider.rst @@ -461,7 +461,7 @@ to service ids that do not exist yet: ``wsse.security.authentication.provider`` )) ->setPublic(false); - $container->setDefinition('wsse.security.authentication.listener', WsseListener::class) + $container->register('wsse.security.authentication.listener', WsseListener::class) ->setArguments(array( new Reference('security.token_storage'), new Reference('security.authentication.manager'),