Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix documentation security.yml #2867

Conversation

alfonsodev
Copy link

as described here
#2855
there is a mistake in the documentation for configure.yml
this PR just fixes that line.

@xabbuh
Copy link
Member

xabbuh commented Nov 6, 2018

@alfonsodev
Copy link
Author

alfonsodev commented Nov 6, 2018

I had the exact same issues as reported in #2855 with symfony 4

  The service "security.authentication.provider.dao.main" has a dependency on  
   a non-existent service "fos_user.user_checker".                             

And I assumed because the issue was closed the solution exposed there was the right one, it did work for me at least the initial setup, register, log in, and log out. I didn't test all the features.

What would then be the right setup for security.yml to work with Symfony 4 ?

the version being used is

        "friendsofsymfony/user-bundle": "^2.1",

@XWB
Copy link
Member

XWB commented Jan 30, 2019

It should be fos_user.user_checker as defined in https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/config/security.xml#L49

@XWB XWB closed this Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants