Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d38c486

Browse filesBrowse 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
Copy full SHA for d38c486

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎security/entity_provider.rst

Copy file name to clipboardExpand all lines: security/entity_provider.rst
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.