瀏覽代碼

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) {