开发者

Modify admin password on Magento Enterprise Edition directly on the database

开发者 https://www.devze.com 2023-04-01 00:19 出处:网络
I\'ve updated a Magento community site to a Magento Enterprise Edition. My pr开发者_高级运维oblem is that I can\'t login on the backoffice anymore. Magento EE uses a different password encryption so t

I've updated a Magento community site to a Magento Enterprise Edition. My pr开发者_高级运维oblem is that I can't login on the backoffice anymore. Magento EE uses a different password encryption so the old admin password doesn't work. The only way to change it is using a mysql query, but I don't know what's the encryption type. All tutorials I've found focus only on Magento Community.

Thanks for your help.

Pau


Put this as the very bottom of your index.php file and you will see the hash to insert into the database:

    Zend_Debug::dump(Mage::helper('core')->getHash('password', 2));


In your DB, search the admin_user table. search the row by your username and edit it and make a new passwd and choise the MD5 encryption

0

精彩评论

暂无评论...
验证码 换一张
取 消