From 2283cd21496286710decdb920ddcfcdd160a1d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Barray?= Date: Fri, 15 Mar 2019 11:48:27 +0100 Subject: [PATCH] Fix stateless mention According to https://github.com/symfony/symfony/blob/5aa0967f9f0ab803ededefb040d48a0ebc7a27a6/src/Symfony/Component/Security/Guard/GuardAuthenticatorHandler.php#L43 Firewall of pure API should have `stateless` to `true` in fact --- security/user_provider.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/user_provider.rst b/security/user_provider.rst index d55472570c8..5ec911be778 100644 --- a/security/user_provider.rst +++ b/security/user_provider.rst @@ -379,7 +379,7 @@ command will generate a nice skeleton to get you started:: * called. Your job is to make sure the user's data is still fresh by, * for example, re-querying for fresh User data. * - * If your firewall is "stateless: false" (for a pure API), this + * If your firewall is "stateless: true" (for a pure API), this * method is not called. * * @return UserInterface