瀏覽代碼

[Security/Http] removed irrelevant code

Johannes M. Schmitt 14 年之前
父節點
當前提交
672cf78816
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

+ 0 - 2
src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

@@ -140,8 +140,6 @@ class ExceptionListener
 
     private function startAuthentication(Request $request, AuthenticationException $authException)
     {
-        $this->context->setToken(null);
-
         if (null === $this->authenticationEntryPoint) {
             throw $authException;
         }