File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2418,19 +2418,19 @@ Secondly, you can use a special "attribute" in place of a role::
2418
2418
2419
2419
public function adminDashboard(): Response
2420
2420
{
2421
- $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY ');
2421
+ $this->denyAccessUnlessGranted('IS_AUTHENTICATED ');
2422
2422
2423
2423
// ...
2424
2424
}
2425
2425
2426
- You can use ``IS_AUTHENTICATED_FULLY `` anywhere roles are used: like
2426
+ You can use ``IS_AUTHENTICATED `` anywhere roles are used: like
2427
2427
``access_control `` or in Twig.
2428
2428
2429
- ``IS_AUTHENTICATED_FULLY `` isn't a role, but it kind of acts like one, and every
2429
+ ``IS_AUTHENTICATED `` isn't a role, but it kind of acts like one, and every
2430
2430
user that has logged in will have this. Actually, there are some special attributes
2431
2431
like this:
2432
2432
2433
- * ``IS_AUTHENTICATED_REMEMBERED ``: * All * logged in users have this, even
2433
+ * ``IS_AUTHENTICATED_REMEMBERED ``: Just like `` IS_AUTHENTICATED ``, * all * logged in users have this, even
2434
2434
if they are logged in because of a "remember me cookie". Even if you don't
2435
2435
use the :doc: `remember me functionality </security/remember_me >`,
2436
2436
you can use this to check if the user is logged in.
You can’t perform that action at this time.
0 commit comments