If the registered user reset his password the page is redirecting to login page. Instead of that I want to redirect to homepage. How to achieve this task?

  • what is the url for reset password? – Amit Bera Jun 11 '15 at 15:01

You might even think about to just implement an observer which listens on http_response_send_before and checks for current frontend/controller/action then change the redirect.


This redirect is written in the Mage_Customer_AccountController inside the resetPasswordPostAction() function.

In this function the code $this->_redirect('*/*/login'); after $this->_getSession()->addSuccess($this->_getHelper('customer')->__('Your password has been updated.')); is responsible for the redirection.

You need to change $this->_redirect('*/*/login'); to $this->_redirect('')

Note: It is a better idea to create a plugin and override the Mage_Customer_AccountController, amending the resetPasswordPostAction() as you need.

How to override a Magento controller

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.