Преглед на файлове

Fixed access denied handling

Christophe Coevoet преди 14 години
родител
ревизия
74b87294c2
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

+ 0 - 2
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) {