Browse Source

Merge pull request #11718 from CauanCabral/patch-1

Removing unnecessary return
Mark Sch 8 years ago
parent
commit
8a9b23e252
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/Controller/Component/AuthComponent.php

+ 0 - 2
src/Controller/Component/AuthComponent.php

@@ -392,8 +392,6 @@ class AuthComponent extends Component
                 $this->_config['ajaxLogin'],
                 $this->RequestHandler->ajaxLayout
             );
-
-            return $response->withStatus(403);
         }
 
         return $response->withStatus(403);