Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Security/Http/Authentication/EccubeAuthenticationFailureHandler.php 2 locations

@@ 44-46 (lines=3) @@
41
        }
42
43
        if ($this->options['failure_forward']) {
44
            if (null !== $this->logger) {
45
                $this->logger->debug('Authentication failure, forward triggered.', array('failure_path' => $this->options['failure_path']));
46
            }
47
48
            $subRequest = $this->httpUtils->createRequest($request, $this->options['failure_path']);
49
            $subRequest->attributes->set(Security::AUTHENTICATION_ERROR, $exception);
@@ 54-56 (lines=3) @@
51
            return $this->httpKernel->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
52
        }
53
54
        if (null !== $this->logger) {
55
            $this->logger->debug('Authentication failure, redirect triggered.', array('failure_path' => $this->options['failure_path']));
56
        }
57
58
        $request->getSession()->set(Security::AUTHENTICATION_ERROR, $exception);
59