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::
24182418
24192419 public function adminDashboard(): Response
24202420 {
2421- $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY ');
2421+ $this->denyAccessUnlessGranted('IS_AUTHENTICATED ');
24222422
24232423 // ...
24242424 }
24252425
2426- You can use ``IS_AUTHENTICATED_FULLY `` anywhere roles are used: like
2426+ You can use ``IS_AUTHENTICATED `` anywhere roles are used: like
24272427``access_control `` or in Twig.
24282428
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
24302430user that has logged in will have this. Actually, there are some special attributes
24312431like this:
24322432
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
24342434 if they are logged in because of a "remember me cookie". Even if you don't
24352435 use the :doc: `remember me functionality </security/remember_me >`,
24362436 you can use this to check if the user is logged in.
You can’t perform that action at this time.
0 commit comments