summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/RetryAuthenticationEntryPoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'Http/EntryPoint/RetryAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/RetryAuthenticationEntryPoint.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Http/EntryPoint/RetryAuthenticationEntryPoint.php b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
index ed1297f..444535a 100644
--- a/Http/EntryPoint/RetryAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/RetryAuthenticationEntryPoint.php
@@ -53,9 +53,6 @@ class RetryAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$url = $scheme.'://'.$request->getHost().$port.$request->getScriptName().$request->getPathInfo().$qs;
- $response = new Response();
- $response->setRedirect($url, 301);
-
- return $response;
+ return Response::createRedirect($url, 301);
}
}