Skip to content

Commit d38c486

Browse files
committed
minor #9323 advise to use user checkers instead (xabbuh)
This PR was merged into the master branch. Discussion ---------- advise to use user checkers instead Commits ------- d5c7d03 advise to use user checkers instead
2 parents d2ccdcf + d5c7d03 commit d38c486

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

security/entity_provider.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ Forbid Inactive Users (AdvancedUserInterface)
328328
.. versionadded:: 4.1
329329
The ``AdvancedUserInterface`` class was deprecated in Symfony 4.1 and no
330330
alternative is provided. If you need this functionality in your application,
331-
add the ``AdvancedUserInterface`` methods to your own user class.
331+
implement :doc:`a custom user checker </security/user_checkers>` that
332+
performs the needed checks.
332333

333334
If a User's ``isActive`` property is set to ``false`` (i.e. ``is_active``
334335
is 0 in the database), the user will still be able to login to the site

0 commit comments

Comments
 (0)