diff --git a/src/Symfony/Bundle/SecurityBundle/Resources/config/security.php b/src/Symfony/Bundle/SecurityBundle/Resources/config/security.php index cae8893d28e5e..9cff34b0a2835 100644 --- a/src/Symfony/Bundle/SecurityBundle/Resources/config/security.php +++ b/src/Symfony/Bundle/SecurityBundle/Resources/config/security.php @@ -100,7 +100,7 @@ ->args([ service('security.token_storage'), ]) - ->tag('controller.argument_value_resolver', ['priority' => 40]) + ->tag('controller.argument_value_resolver', ['priority' => 120]) // Authentication related services ->set('security.authentication.trust_resolver', AuthenticationTrustResolver::class)