Fixed access denied handling
This commit is contained in:
parent
82a8a3fb42
commit
74b87294c2
|
@ -128,8 +128,6 @@ class ExceptionListener implements ListenerInterface
|
|||
|
||||
$response = $event->getSubject()->handle($subRequest, HttpKernelInterface::SUB_REQUEST, true);
|
||||
$response->setStatusCode(403);
|
||||
|
||||
return $response;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
if (null !== $this->logger) {
|
||||
|
|
Reference in New Issue