Skip to content

Commit

Permalink
minor #20240 [Security] Fix role to detect logged-in user (devojifr)
Browse files Browse the repository at this point in the history
This PR was merged into the 6.4 branch.

Discussion
----------

[Security] Fix role to detect logged-in user

An error has been introduced since 6.2  when checking to see if a user is logged-in

Commits
-------

a867829 [Security] Fix role to detect logged-in user
  • Loading branch information
javiereguiluz committed Sep 24, 2024
2 parents f264bd8 + a867829 commit c5a4079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,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::

// ...

Expand Down

0 comments on commit c5a4079

Please sign in to comment.