Skip to content

Commit 2ae236e

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Update expressions.rst
2 parents 6b0de3a + a8835d9 commit 2ae236e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security/expressions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ Additionally, you have access to a number of functions inside the expression:
5656
Returns ``true`` if the user is authenticated via "remember-me" or authenticated
5757
"fully" - i.e. returns true if the user is "logged in".
5858
``is_anonymous``
59-
Equal to using ``IS_AUTHENTICATED_ANONYMOUSLY`` with the ``isGranted()`` function.
59+
Returns ``true`` if the user is anonymous. That is, the firewall confirms that it
60+
does not know this user's identity. This is different from ``IS_AUTHENTICATED_ANONYMOUSLY``,
61+
which is granted to *all* users, including authenticated ones.
6062
``is_remember_me``
6163
Similar, but not equal to ``IS_AUTHENTICATED_REMEMBERED``, see below.
6264
``is_fully_authenticated``

0 commit comments

Comments
 (0)