When I go to the admin -> System -> My Account and change the password when save it show the error

Fatal error: Call to undefined method Mage_Adminhtml_System_AccountController::_validateCurrentPassword() in app/code/core/Mage/Adminhtml/controllers/System/AccountController.php on line 73 Please help me resolve this issue. My Magento Version: Magento ver.

Many Thanks.


_validateCurrentPassword() should be define in Mage_Adminhtml_Controller_Action (app/code/core/Mage/Adminhtml/Controller/Action.php) which Mage_Adminhtml_System_AccountController extends

class Mage_Adminhtml_System_AccountController extends Mage_Adminhtml_Controller_Action

Try downloading a new copy and diff both files.


@Manashvi, Thanks for your answered. I'm tried to add this function to end the file: app/code/core/Mage/Adminhtml/Controller/Action.php

 * Validate password for current admin user
 * @param string $password - current password
 * @return mixed - returns true or array of errors
protected function _validateCurrentPassword($password)
    $user = Mage::getSingleton('admin/session')->getUser();
    return $user->validateCurrentPassword($password);

And it's working fine now. Thanks again @Manashvi birla

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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