File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2491,15 +2491,17 @@ these voters is similar to the role-based access checks implemented in the
24912491previous chapters. Read :doc: `/security/voters ` to learn how to implement
24922492your own voter.
24932493
2494- Checking to see if a User is Logged In (IS_AUTHENTICATED_FULLY)
2495- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2494+ .. _checking-to-see-if-a-user-is-logged-in-is-authenticated-fully :
2495+
2496+ Checking to see if a User is Logged In
2497+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24962498
24972499If you *only * want to check if a user is logged in (you don't care about roles),
24982500you have the following two options.
24992501
25002502Firstly, if you've given *every * user ``ROLE_USER ``, you can check for that role.
25012503
2502- Secondly, you can use a special "attribute" in place of a role::
2504+ Secondly, you can use the special "attribute" `` IS_AUTHENTICATED_FULLY `` in place of a role::
25032505
25042506 // ...
25052507
You can’t perform that action at this time.
0 commit comments