diff options
-rw-r--r-- | Http/Firewall/LogoutListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/LogoutListener.php b/Http/Firewall/LogoutListener.php index 06e5d68..e1a5f3d 100644 --- a/Http/Firewall/LogoutListener.php +++ b/Http/Firewall/LogoutListener.php @@ -71,7 +71,7 @@ class LogoutListener implements ListenerInterface $logoutPath = str_replace('{_locale}', $request->getSession()->getLocale(), $this->logoutPath); $targetUrl = str_replace('{_locale}', $request->getSession()->getLocale(), $this->targetUrl); - + if ($logoutPath !== $request->getPathInfo()) { return; } |