Skip to content

Commit 2c16563

Browse files
author
Korshenko, Olexii(okorshenko)
committed
Merge pull request #595 from magento-fearless-kiwis/develop
[FearlessKiwis] Developer Experience features
2 parents b4128b2 + 8e7f784 commit 2c16563

File tree

85 files changed

+1730
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1730
-465
lines changed

app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function render(\Magento\Framework\DataObject $row)
6060
[
6161
'_current' => true,
6262
'id' => $row->getId(),
63-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $encodedUrl
63+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $encodedUrl
6464
]
6565
),
6666
__('Are you sure?'),

app/code/Magento/Backend/App/Action/Plugin/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ protected function _redirectIfNeededAfterLogin(\Magento\Framework\App\RequestInt
218218
}
219219

220220
$this->_response->setRedirect($requestUri);
221-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
221+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
222222
return true;
223223
}
224224
}

app/code/Magento/Backend/Block/Page/Locale.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*/
88
namespace Magento\Backend\Block\Page;
99

10+
use Magento\Framework\App\ActionInterface;
11+
1012
class Locale extends \Magento\Backend\Block\Template
1113
{
1214
/**
@@ -68,7 +70,7 @@ public function getChangeLocaleUrl()
6870
*/
6971
public function getUrlForReferer()
7072
{
71-
return \Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED . '/' . $this->_urlHelper->getEncodedUrl();
73+
return ActionInterface::PARAM_NAME_URL_ENCODED . '/' . $this->_urlHelper->getEncodedUrl();
7274
}
7375

7476
/**

app/code/Magento/Braintree/Controller/MyCreditCards.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct(
7171
public function dispatch(RequestInterface $request)
7272
{
7373
$loginUrl = $this->customerUrl->getLoginUrl();
74-
if (!$this->customerSession->authenticate($this, $loginUrl)) {
74+
if (!$this->customerSession->authenticate($loginUrl)) {
7575
$this->_actionFlag->set('', self::FLAG_NO_DISPATCH, true);
7676
}
7777
if (!$this->config->useVault()) {

app/code/Magento/Captcha/Model/Observer.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function checkForgotpassword($observer)
134134
$controller = $observer->getControllerAction();
135135
if (!$captchaModel->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
136136
$this->messageManager->addError(__('Incorrect CAPTCHA'));
137-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
137+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
138138
$this->redirect->redirect($controller->getResponse(), '*/*/forgotpassword');
139139
}
140140
}
@@ -156,7 +156,7 @@ public function checkContactUsForm($observer)
156156
$controller = $observer->getControllerAction();
157157
if (!$captcha->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
158158
$this->messageManager->addError(__('Incorrect CAPTCHA.'));
159-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
159+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
160160
$this->redirect->redirect($controller->getResponse(), 'contact/index/index');
161161
}
162162
}
@@ -179,7 +179,7 @@ public function checkUserLogin($observer)
179179
$word = $this->_getCaptchaString($controller->getRequest(), $formId);
180180
if (!$captchaModel->isCorrect($word)) {
181181
$this->messageManager->addError(__('Incorrect CAPTCHA'));
182-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
182+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
183183
$this->_session->setUsername($login);
184184
$beforeUrl = $this->_session->getBeforeAuthUrl();
185185
$url = $beforeUrl ? $beforeUrl : $this->_customerUrl->getLoginUrl();
@@ -205,7 +205,7 @@ public function checkUserCreate($observer)
205205
$controller = $observer->getControllerAction();
206206
if (!$captchaModel->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
207207
$this->messageManager->addError(__('Incorrect CAPTCHA'));
208-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
208+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
209209
$this->_session->setCustomerFormData($controller->getRequest()->getPostValue());
210210
$url = $this->_urlManager->getUrl('*/*/create', ['_nosecret' => true]);
211211
$controller->getResponse()->setRedirect($this->redirect->error($url));
@@ -229,7 +229,7 @@ public function checkGuestCheckout($observer)
229229
if ($captchaModel->isRequired()) {
230230
$controller = $observer->getControllerAction();
231231
if (!$captchaModel->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
232-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
232+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
233233
$result = ['error' => 1, 'message' => __('Incorrect CAPTCHA')];
234234
$controller->getResponse()->representJson($this->jsonHelper->jsonEncode($result));
235235
}
@@ -253,7 +253,7 @@ public function checkRegisterCheckout($observer)
253253
if ($captchaModel->isRequired()) {
254254
$controller = $observer->getControllerAction();
255255
if (!$captchaModel->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
256-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
256+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
257257
$result = ['error' => 1, 'message' => __('Incorrect CAPTCHA')];
258258
$controller->getResponse()->representJson($this->jsonHelper->jsonEncode($result));
259259
}
@@ -302,7 +302,7 @@ public function checkUserForgotPasswordBackend($observer)
302302
if ($captchaModel->isRequired()) {
303303
if (!$captchaModel->isCorrect($this->_getCaptchaString($controller->getRequest(), $formId))) {
304304
$this->_session->setEmail((string)$controller->getRequest()->getPost('email'));
305-
$this->_actionFlag->set('', \Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH, true);
305+
$this->_actionFlag->set('', \Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH, true);
306306
$this->messageManager->addError(__('Incorrect CAPTCHA'));
307307
$controller->getResponse()->setRedirect(
308308
$controller->getUrl('*/*/forgotpassword', ['_nosecret' => true])

app/code/Magento/Captcha/Test/Unit/Model/ObserverTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function testCheckContactUsFormRedirectsCustomerWithWarningMessageWhenCap
234234
'set'
235235
)->with(
236236
'',
237-
\Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH,
237+
\Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH,
238238
true
239239
);
240240

@@ -322,7 +322,7 @@ public function testCheckForgotpasswordRedirects()
322322
'set'
323323
)->with(
324324
'',
325-
\Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH,
325+
\Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH,
326326
true
327327
);
328328

@@ -404,7 +404,7 @@ public function testCheckUserCreateRedirectsError()
404404
'set'
405405
)->with(
406406
'',
407-
\Magento\Framework\App\Action\Action::FLAG_NO_DISPATCH,
407+
\Magento\Framework\App\ActionInterface::FLAG_NO_DISPATCH,
408408
true
409409
);
410410

app/code/Magento/Catalog/Block/Product/ListProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product)
341341
'action' => $url,
342342
'data' => [
343343
'product' => $product->getEntityId(),
344-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED =>
344+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED =>
345345
$this->urlHelper->getEncodedUrl($url),
346346
]
347347
];

app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ public function getWidgetOptionsJson(array $customOptions = [])
674674
{
675675
$postData = $this->_postDataHelper->getPostData(
676676
$this->getPagerUrl(),
677-
[\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $this->getPagerEncodedUrl()]
677+
[\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $this->getPagerEncodedUrl()]
678678
);
679679
$options = [
680680
'modeCookie' => ToolbarModel::MODE_COOKIE_NAME,

app/code/Magento/Catalog/Block/Product/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function getAddToCartUrl($product, $additional = [])
201201
$additional['wishlist_next'] = 1;
202202
}
203203

204-
$addUrlKey = \Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED;
204+
$addUrlKey = \Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED;
205205
$addUrlValue = $this->_urlBuilder->getUrl('*/*/*', ['_use_rewrite' => true, '_current' => true]);
206206
$additional[$addUrlKey] = $this->urlEncoder->encode($addUrlValue);
207207

app/code/Magento/Catalog/Controller/Category/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ protected function _initCategory()
152152
*/
153153
public function execute()
154154
{
155-
if ($this->_request->getParam(\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED)) {
155+
if ($this->_request->getParam(\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED)) {
156156
return $this->resultRedirectFactory->create()->setUrl($this->_redirect->getRedirectUrl());
157157
}
158158
$category = $this->_initCategory();

app/code/Magento/Catalog/Helper/Product/Compare.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getListUrl()
148148

149149
$params = [
150150
'items' => implode(',', $itemIds),
151-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl()
151+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl()
152152
];
153153

154154
return $this->_getUrl('catalog/product_compare', $params);
@@ -186,7 +186,7 @@ public function getAddToWishlistParams($product)
186186
$beforeCompareUrl = $this->_catalogSession->getBeforeCompareUrl();
187187

188188
$encodedUrl = [
189-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl($beforeCompareUrl)
189+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl($beforeCompareUrl)
190190
];
191191

192192
return $this->_wishlistHelper->getAddParams($product, $encodedUrl);
@@ -203,7 +203,7 @@ public function getAddToCartUrl($product)
203203
$beforeCompareUrl = $this->_catalogSession->getBeforeCompareUrl();
204204
$params = [
205205
'product' => $product->getId(),
206-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl($beforeCompareUrl),
206+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $this->getEncodedUrl($beforeCompareUrl),
207207
'_secure' => $this->_getRequest()->isSecure()
208208
];
209209

@@ -230,7 +230,7 @@ public function getPostDataRemove($product)
230230
{
231231
$listCleanUrl = $this->getEncodedUrl($this->_getUrl('catalog/product_compare'));
232232
$data = [
233-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $listCleanUrl,
233+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $listCleanUrl,
234234
'product' => $product->getId()
235235
];
236236
return $this->postHelper->getPostData($this->getRemoveUrl(), $data);
@@ -255,7 +255,7 @@ public function getPostDataClearList()
255255
{
256256
$refererUrl = $this->_getRequest()->getServer('HTTP_REFERER');
257257
$params = [
258-
\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED => $this->urlEncoder->encode($refererUrl)
258+
\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED => $this->urlEncoder->encode($refererUrl)
259259
];
260260
return $this->postHelper->getPostData($this->getClearListUrl(), $params);
261261
}

app/code/Magento/Catalog/Model/App/Action/ContextPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public function __construct(
4444
}
4545

4646
/**
47-
* @param \Magento\Framework\App\Action\Action $subject
47+
* @param \Magento\Framework\App\ActionInterface $subject
4848
* @param callable $proceed
4949
* @param \Magento\Framework\App\RequestInterface $request
5050
* @return mixed
5151
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5252
*/
5353
public function aroundDispatch(
54-
\Magento\Framework\App\Action\Action $subject,
54+
\Magento\Framework\App\ActionInterface $subject,
5555
\Closure $proceed,
5656
\Magento\Framework\App\RequestInterface $request
5757
) {

app/code/Magento/Catalog/etc/frontend/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<argument name="isAvailable" xsi:type="boolean">true</argument>
3636
</arguments>
3737
</type>
38-
<type name="Magento\Framework\App\Action\Action">
38+
<type name="Magento\Framework\App\ActionInterface">
3939
<plugin name="catalog-app-action-dispatchController-context-plugin" type="Magento\Catalog\Model\App\Action\ContextPlugin" sortOrder="10"/>
4040
</type>
4141
<type name="Magento\Framework\View\Layout">

app/code/Magento/Checkout/Helper/Cart.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getCart()
7272
public function getAddUrl($product, $additional = [])
7373
{
7474
$continueUrl = $this->urlEncoder->encode($this->_urlBuilder->getCurrentUrl());
75-
$urlParamName = \Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED;
75+
$urlParamName = \Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED;
7676

7777
$routeParams = [
7878
$urlParamName => $continueUrl,
@@ -108,7 +108,7 @@ public function getRemoveUrl($item)
108108
{
109109
$params = [
110110
'id' => $item->getId(),
111-
\Magento\Framework\App\Action\Action::PARAM_NAME_BASE64_URL => $this->getCurrentBase64Url(),
111+
\Magento\Framework\App\ActionInterface::PARAM_NAME_BASE64_URL => $this->getCurrentBase64Url(),
112112
];
113113
return $this->_getUrl(self::DELETE_URL, $params);
114114
}
@@ -125,7 +125,7 @@ public function getDeletePostJson($item)
125125

126126
$data = ['id' => $item->getId()];
127127
if (!$this->_request->isAjax()) {
128-
$data[\Magento\Framework\App\Action\Action::PARAM_NAME_URL_ENCODED] = $this->getCurrentBase64Url();
128+
$data[\Magento\Framework\App\ActionInterface::PARAM_NAME_URL_ENCODED] = $this->getCurrentBase64Url();
129129
}
130130
return json_encode(['action' => $url, 'data' => $data]);
131131
}

app/code/Magento/Cms/Controller/Router.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ public function match(\Magento\Framework\App\RequestInterface $request)
103103
if ($condition->getRedirectUrl()) {
104104
$this->_response->setRedirect($condition->getRedirectUrl());
105105
$request->setDispatched(true);
106-
return $this->actionFactory->create(
107-
'Magento\Framework\App\Action\Redirect',
108-
['request' => $request]
109-
);
106+
return $this->actionFactory->create('Magento\Framework\App\Action\Redirect');
110107
}
111108

112109
if (!$condition->getContinue()) {
@@ -123,9 +120,6 @@ public function match(\Magento\Framework\App\RequestInterface $request)
123120
$request->setModuleName('cms')->setControllerName('page')->setActionName('view')->setParam('page_id', $pageId);
124121
$request->setAlias(\Magento\Framework\Url::REWRITE_REQUEST_PATH_ALIAS, $identifier);
125122

126-
return $this->actionFactory->create(
127-
'Magento\Framework\App\Action\Forward',
128-
['request' => $request]
129-
);
123+
return $this->actionFactory->create('Magento\Framework\App\Action\Forward');
130124
}
131125
}

app/code/Magento/Customer/Controller/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function _getSession()
122122
*/
123123
public function dispatch(RequestInterface $request)
124124
{
125-
if (!$this->_getSession()->authenticate($this)) {
125+
if (!$this->_getSession()->authenticate()) {
126126
$this->_actionFlag->set('', 'no-dispatch', true);
127127
}
128128
return parent::dispatch($request);

app/code/Magento/Customer/Controller/Plugin/Account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function aroundDispatch(
5050
$pattern = '/^(' . implode('|', $this->allowedActions) . ')$/i';
5151

5252
if (!preg_match($pattern, $action)) {
53-
if (!$this->session->authenticate($subject)) {
53+
if (!$this->session->authenticate()) {
5454
$subject->getActionFlag()->set('', ActionInterface::FLAG_NO_DISPATCH, true);
5555
}
5656
} else {

app/code/Magento/Customer/Model/App/Action/ContextPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ public function __construct(
3737
}
3838

3939
/**
40-
* @param \Magento\Framework\App\Action\Action $subject
40+
* @param \Magento\Framework\App\ActionInterface $subject
4141
* @param callable $proceed
4242
* @param \Magento\Framework\App\RequestInterface $request
4343
* @return mixed
4444
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4545
*/
4646
public function aroundDispatch(
47-
\Magento\Framework\App\Action\Action $subject,
47+
\Magento\Framework\App\ActionInterface $subject,
4848
\Closure $proceed,
4949
\Magento\Framework\App\RequestInterface $request
5050
) {

app/code/Magento/Customer/Model/Session.php

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ class Session extends \Magento\Framework\Session\SessionManager
9494
*/
9595
protected $groupManagement;
9696

97+
/**
98+
* @var \Magento\Framework\App\Response\Http
99+
*/
100+
protected $response;
101+
97102
/**
98103
* @param \Magento\Framework\App\Request\Http $request
99104
* @param \Magento\Framework\Session\SidResolverInterface $sidResolver
@@ -115,6 +120,7 @@ class Session extends \Magento\Framework\Session\SessionManager
115120
* @param \Magento\Framework\App\Http\Context $httpContext
116121
* @param CustomerRepositoryInterface $customerRepository
117122
* @param GroupManagementInterface $groupManagement
123+
* @param \Magento\Framework\App\Response\Http $response
118124
* @throws \Magento\Framework\Exception\SessionException
119125
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
120126
*/
@@ -138,7 +144,8 @@ public function __construct(
138144
\Magento\Framework\Event\ManagerInterface $eventManager,
139145
\Magento\Framework\App\Http\Context $httpContext,
140146
CustomerRepositoryInterface $customerRepository,
141-
GroupManagementInterface $groupManagement
147+
GroupManagementInterface $groupManagement,
148+
\Magento\Framework\App\Response\Http $response
142149
) {
143150
$this->_coreUrl = $coreUrl;
144151
$this->_customerUrl = $customerUrl;
@@ -162,6 +169,7 @@ public function __construct(
162169
$appState
163170
);
164171
$this->groupManagement = $groupManagement;
172+
$this->response = $response;
165173
$this->_eventManager->dispatch('customer_session_init', ['customer_session' => $this]);
166174
}
167175

@@ -460,18 +468,17 @@ public function logout()
460468
/**
461469
* Authenticate controller action by login customer
462470
*
463-
* @param ActionInterface $action
464471
* @param bool|null $loginUrl
465472
* @return bool
466473
*/
467-
public function authenticate(ActionInterface $action, $loginUrl = null)
474+
public function authenticate($loginUrl = null)
468475
{
469476
if ($this->isLoggedIn()) {
470477
return true;
471478
}
472479
$this->setBeforeAuthUrl($this->_createUrl()->getUrl('*/*/*', ['_current' => true]));
473480
if (isset($loginUrl)) {
474-
$action->getResponse()->setRedirect($loginUrl);
481+
$this->response->setRedirect($loginUrl);
475482
} else {
476483
$arguments = $this->_customerUrl->getLoginUrlParams();
477484
if ($this->_session->getCookieShouldBeReceived() && $this->_createUrl()->getUseSession()) {
@@ -481,7 +488,7 @@ public function authenticate(ActionInterface $action, $loginUrl = null)
481488
]
482489
];
483490
}
484-
$action->getResponse()->setRedirect(
491+
$this->response->setRedirect(
485492
$this->_createUrl()->getUrl(\Magento\Customer\Model\Url::ROUTE_ACCOUNT_LOGIN, $arguments)
486493
);
487494
}

0 commit comments

Comments
 (0)