File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2456,15 +2456,17 @@ these voters is similar to the role-based access checks implemented in the
2456
2456
previous chapters. Read :doc: `/security/voters ` to learn how to implement
2457
2457
your own voter.
2458
2458
2459
- Checking to see if a User is Logged In (IS_AUTHENTICATED_FULLY)
2460
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2459
+ .. _checking-to-see-if-a-user-is-logged-in-is-authenticated-fully :
2460
+
2461
+ Checking to see if a User is Logged In
2462
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2461
2463
2462
2464
If you *only * want to check if a user is logged in (you don't care about roles),
2463
2465
you have the following two options.
2464
2466
2465
2467
Firstly, if you've given *every * user ``ROLE_USER ``, you can check for that role.
2466
2468
2467
- Secondly, you can use a special "attribute" in place of a role::
2469
+ Secondly, you can use the special "attribute" `` IS_AUTHENTICATED_FULLY `` in place of a role::
2468
2470
2469
2471
// ...
2470
2472
You can’t perform that action at this time.
0 commit comments