From d5c7d03520b7422495deb96d014abe47406b6817 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 23 Feb 2018 16:24:22 +0100 Subject: [PATCH] advise to use user checkers instead --- security/entity_provider.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy