Magento – Magento doesn’t send autogenerated password

emailmagento-1.7

I've noticed that when I clic on "send auto-generated password" to a customer it sends an email but it doesn't displays the new password, it appears like:

Dear customer,

Your new password is:

And doesn't displays the password, is in blank. Anyone knows why this can happen?

In the backend/System/transactional emails I have this:

<p style="font-size:12px; line-height:16px; margin:0 0 8px 0;"><strong>Your new password is:</strong> {{htmlescape var=$password}}</p>

instead of the password (Is the code OK?).

My magento version is 1.7.0.

Thanks.

Best Answer

The password section in the template should look like this:

<p style="font-size:12px; line-height:16px; margin:0 0 8px 0;"><strong>Your new password is:</strong> {{htmlescape var=$customer.password}}</p>
Related Topic