diff --git a/security/entity_provider.rst b/security/entity_provider.rst index 30b464cd996..e59b027246c 100644 --- a/security/entity_provider.rst +++ b/security/entity_provider.rst @@ -328,7 +328,8 @@ Forbid Inactive Users (AdvancedUserInterface) .. versionadded:: 4.1 The ``AdvancedUserInterface`` class was deprecated in Symfony 4.1 and no alternative is provided. If you need this functionality in your application, - add the ``AdvancedUserInterface`` methods to your own user class. + implement :doc:`a custom user checker ` that + performs the needed checks. If a User's ``isActive`` property is set to ``false`` (i.e. ``is_active`` is 0 in the database), the user will still be able to login to the site
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: