-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Symfony Security Cookbook documentation #5968
Copy link
Copy link
Closed
Labels
SecurityhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
In the Cookbook documentation for 'Using a Custom Query to Load the User' (http://symfony.com/doc/master/cookbook/security/entity_provider.html#using-a-custom-query-to-load-the-user), the example uses "implements UserProviderInterface". In the current version of Symfony the file should implement UserLoaderInterface instead. This can be seen in Symfony\Bridge\Doctrine\Security\User\EntityUserProvider where the loadUserByUsername method checks to ensure that the repository implements Symfony\Bridge\Doctrine\Security\User\UserLoaderInterface. Can we update the document?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SecurityhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.