Skip to content

Commit 4592185

Browse files
Redirecting users to sales order history page instead of account dashboard
1 parent 86515dd commit 4592185

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Controller/Guest

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Controller/Guest/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(
6363
public function execute()
6464
{
6565
if ($this->customerSession->isLoggedIn()) {
66-
return $this->resultRedirectFactory->create()->setPath('customer/account/');
66+
return $this->resultRedirectFactory->create()->setPath('sales/order/history');
6767
}
6868

6969
$resultPage = $this->resultPageFactory->create();

0 commit comments

Comments
 (0)