Skip to content

Commit e7ad071

Browse files
committed
Note on deprecation
Reflects the deprecation of Using the UserManager as user provider in 'SecurityBundle Integration'-section
1 parent f8e9255 commit e7ad071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/doc/user_manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ to reuse the common logic.
154154

155155
## SecurityBundle integration
156156

157-
The built-in user managers also implement `Symfony\Component\Security\Core\User\UserProviderInterface`
158-
so they can be used as provider for the Security component.
157+
Although the built-in user managers also implement `Symfony\Component\Security\Core\User\UserProviderInterface`
158+
using the UserManager as user provider is deprecated and will trigger an error. Use 'FOS\UserBundle\Security\UserProvider' instead.

0 commit comments

Comments
 (0)