Skip to content

Commit 4024888

Browse files
author
Anna Bukatar
committed
ACP2E-2259: Dynamic Blocks based on Customer Segments don't work correctly (Double Banner after Sign Out when using Segment)
1 parent eab0a1e commit 4024888

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Customer/Model/Plugin/CustomerNotification.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ private function isPostRequest(): bool
147147
return $this->request instanceof HttpRequestInterface && $this->request->isPost();
148148
}
149149

150+
/**
151+
* Checks if the current request is a logout request.
152+
*
153+
* @return bool
154+
*/
150155
private function isLogoutRequest(): bool
151156
{
152157
return $this->request->getRequestUri() === '/customer/account/logout/';

0 commit comments

Comments
 (0)