From a8678292f173090fff9b8b744ac37d0a1c66c646 Mon Sep 17 00:00:00 2001 From: Vincent Chareunphol Date: Tue, 24 Sep 2024 11:53:12 +0200 Subject: [PATCH] [Security] Fix role to detect logged-in user --- security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security.rst b/security.rst index d38c9cf731d..a537bb59075 100644 --- a/security.rst +++ b/security.rst @@ -2648,7 +2648,7 @@ you have the following two options. Firstly, if you've given *every* user ``ROLE_USER``, you can check for that role. -Secondly, you can use the special "attribute" ``IS_AUTHENTICATED_FULLY`` in place of a role:: +Secondly, you can use the special "attribute" ``IS_AUTHENTICATED`` in place of a role:: // ...