// Adding some hooks :)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12932 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -81,6 +81,7 @@ class PasswordControllerCore extends FrontController
|
||||
$customer->last_passwd_gen = date('Y-m-d H:i:s', time());
|
||||
if ($customer->update())
|
||||
{
|
||||
Hook::exec('actionPasswordRenew', array('customer' => $customer, 'password' => $password));
|
||||
if (Mail::Send($this->context->language->id, 'password', Mail::l('Your password'),
|
||||
array(
|
||||
'{email}' => $customer->email,
|
||||
|
||||
Reference in New Issue
Block a user