From 74b87294c2334172a6cf41fd03c8bd1b00ab1ae3 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 10 Feb 2011 15:22:02 +0100 Subject: [PATCH] Fixed access denied handling --- .../Component/Security/Http/Firewall/ExceptionListener.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php b/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php index 79e531349d..0116b46185 100644 --- a/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php @@ -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) {