Introduction
Some customers have reported an issue with Magento 1.9.3.9 and potentially any version above 1.9.1, where password confirmation errors occur. This guide provides a straightforward fix for this issue.
Steps to Resolve the Issue
Step 1: Copy the Customer.php File
First, copy the Customer.php
file from /app/code/core/Mage/Customer/Model/
to /app/code/local/Mage/Customer/Model/
. This ensures that core files remain untouched, adhering to Magento’s best practices.
Step 2: Open the Copied File
Open the copied Customer.php
file located in /app/code/local/Mage/Customer/Model/
.
Step 3: Find the Specific Line
Locate the following line of code in the Customer.php
file:
$confirmation = $this->getPasswordConfirmation();
Step 4: Replace the Line of Code
Replace the identified line with the following code:
$confirmation = $this->getConfirmation();
Summary of Changes
To summarize, you need to:
- Copy
Customer.php
fromapp/code/core
toapp/code/local
. - Open the file in
app/code/local
and replace$confirmation = $this->getPasswordConfirmation();
with$confirmation = $this->getConfirmation();
.
Conclusion
By following these steps, you can resolve the password confirmation issue in Magento 1.9.3.9 and above, ensuring a smoother experience for your customers.
Further Assistance
If you have any questions or encounter any issues, please leave a comment below or reach out for further support.