Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixing missing ; thanks to marcospoke on the comments!
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
knpu/episode2/deny-access-controller.rst
|
@@ -116,7 +116,7 @@ into this:: |
|
|
{ |
|
|
$securityContext = $this->container->get('security.context'); |
|
|
if (!$securityContext->isGranted('ROLE_USER')) { |
|
|
throw new AccessDeniedException('Need ROLE_USER!') |
|
|
throw new AccessDeniedException('Need ROLE_USER!'); |
|
|
} |
|
|
} |
|
|
|
|
|