Skip to content

Commit af128fe

Browse files
author
Sergii Kovalenko
committed
MAGETWO-53940: Unnecessary redirect to checkout page after Sign-in
1 parent a5fa3af commit af128fe

File tree

1 file changed

+0
-2
lines changed
  • app/code/Magento/Checkout/Controller/Index

1 file changed

+0
-2
lines changed

app/code/Magento/Checkout/Controller/Index/Index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public function execute()
3434

3535
$this->_customerSession->regenerateId();
3636
$this->_objectManager->get('Magento\Checkout\Model\Session')->setCartWasUpdated(false);
37-
$currentUrl = $this->_url->getUrl('*/*/*', ['_secure' => true]);
38-
$this->_objectManager->get('Magento\Customer\Model\Session')->setBeforeAuthUrl($currentUrl);
3937
$this->getOnepage()->initCheckout();
4038
$resultPage = $this->resultPageFactory->create();
4139
$resultPage->getConfig()->getTitle()->set(__('Checkout'));

0 commit comments

Comments
 (0)