Attribute manager_name
1cartel opened this issue · 0 comments
1cartel commented
Hello guys !
I'm using your bundle in 2.18.1 version with Symfony 6.2.
I encounter a problem when I want to use a different entity manager (multi-connection database). In the security.yaml file, I defined for my provider, the "manager_name" field on a new entity manager.
My defined providers in security.yaml
providers:
app_user_provider:
entity:
class: App\EntityAuth\AuthUser
property: username
manager_name: auth
However, when I launch the authentication process, the "manager_name" field isn't unsing and performs the SQL query to my default connection.
Why is it not taken into account ?
What can be done to solve this problem ?
Thanking you in advance !