summaryrefslogtreecommitdiffstats
path: root/Http/Logout/LogoutUrlGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Logout/LogoutUrlGenerator.php')
-rw-r--r--Http/Logout/LogoutUrlGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Logout/LogoutUrlGenerator.php b/Http/Logout/LogoutUrlGenerator.php
index 298c224..4ad63cc 100644
--- a/Http/Logout/LogoutUrlGenerator.php
+++ b/Http/Logout/LogoutUrlGenerator.php
@@ -121,7 +121,7 @@ class LogoutUrlGenerator
$request = $this->requestStack->getCurrentRequest();
- $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBasePath().$logoutPath;
+ $url = UrlGeneratorInterface::ABSOLUTE_URL === $referenceType ? $request->getUriForPath($logoutPath) : $request->getBaseUrl().$logoutPath;
if (!empty($parameters)) {
$url .= '?'.http_build_query($parameters);