After Magento 1.9 version due to security reason password field send empty.
and the variable are not set for :

{{htmlescape var=$customer.password}}

But if you want to send password you can do it by following the steps:
Solution 1:
1- open  app/code/core/Mage/Customer/controllers/AccountController.php

2- Near Line number 290 comment out the line

$customer->cleanPasswordsValidationData();

Solution 2:

1- open app/code/core/Mage/Customer/Model/Customer.php

2- At the bottom  comment out the line in function as:


public function cleanPasswordsValidationData()
{
// $this->setData('password', null);
$this->setData('password_confirmation', null);
return $this;
}

Categories: Magento

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *