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
2491
2491
previous chapters. Read :doc: `/security/voters ` to learn how to implement
2492
2492
your own voter.
2493
2493
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
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2496
2498
2497
2499
If you *only * want to check if a user is logged in (you don't care about roles),
2498
2500
you have the following two options.
2499
2501
2500
2502
Firstly, if you've given *every * user ``ROLE_USER ``, you can check for that role.
2501
2503
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::
2503
2505
2504
2506
// ...
2505
2507
You can’t perform that action at this time.
0 commit comments