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 991b1fc..ada733b 100644
--- a/Http/Logout/LogoutUrlGenerator.php
+++ b/Http/Logout/LogoutUrlGenerator.php
@@ -113,7 +113,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);