Skip to content

Commit c034506

Browse files
committed
[Security] Fix role to detect logged-in user
1 parent a33a90a commit c034506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2654,7 +2654,7 @@ Secondly, you can use the special "attribute" ``IS_AUTHENTICATED_FULLY`` in plac
26542654

26552655
public function adminDashboard(): Response
26562656
{
2657-
$this->denyAccessUnlessGranted('IS_AUTHENTICATED');
2657+
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');
26582658

26592659
// ...
26602660
}

0 commit comments

Comments
 (0)