Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 48499b9

Browse files
committed
Set UserValueResolver's priority higher than EntityValueResolver
1 parent 541e651 commit 48499b9

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/SecurityBundle/Resources/config

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
->args([
101101
service('security.token_storage'),
102102
])
103-
->tag('controller.argument_value_resolver', ['priority' => 40])
103+
->tag('controller.argument_value_resolver', ['priority' => 120])
104104

105105
// Authentication related services
106106
->set('security.authentication.trust_resolver', AuthenticationTrustResolver::class)

0 commit comments

Comments
 (0)