I am using magento1.7.0.2 , want to perform some operation while user submit request for forgot password from frontend using event observer.
i tried customer_save_after is a event for adminhtml not for frontend.
any help would be appreciate!
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityTry to play around with events:
To run your observer after reset password action
controller_action_postdispatch_customer_account_forgotpassword
and in your observer add checking if email is sent
$email = (string) $this->getRequest()->getPost('email');
if ($email) {
//here place your code to notify customer
}
resetpassword
try to use forgotpassword
. See answer I updated it.
Feb 26, 2014 at 11:55
Use eventcontroller_action_postdispatch_customer_account_forgotpasswordpost
instead of controller_action_postdispatch_customer_account_forgotpassword