I am facing a strange issue. Bascially I need to rewrite the customer authentication logic. So as to rewrite authenticate() method I have created a small module. The code for the module is as below:


<?xml version="1.0"?>


class Nutricentre_Customermigration_Model_Customer extends Mage_Customer_Model_Customer{
     public function authenticate($login, $password){
        echo $login;

The rewrite works perfectly fine with Magento Community Edition but its not working on my Enterprise Copy.

Is there any change in rewrite logic for enterprise edition? Any ideas will be appreciated.

  • i don't think so. check any other module is rewrite the same model ? Dec 2, 2015 at 9:53
  • Yes it was a third party extension that was rewriting. I overlooked it..
    – Dexter
    Dec 2, 2015 at 10:20
  • okay....... good Dec 2, 2015 at 10:28

1 Answer 1


To my observation, the rewrite method for both community and enterprise edition is same. I missed one third party module which was rewriting Mage_Customer.

To check the override, I used a script written by @Marius How do I get a list of all class rewrites?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.