I am working on migration project from drupal to magento. Anyone knows how to convert the Drupal password to Magento 1.9 format?
Thanks in advance!
I am working on migration project from drupal to magento. Anyone knows how to convert the Drupal password to Magento 1.9 format?
Thanks in advance!
Looking at this answer What is Drupal's default password encryption method? it appears (as suspected) you wouldn't be able to reverse it (depending on version).
Magento uses an MD5 hash (with salt) when supplied.
My suggestion would be to re-engineer Magento's login option to use the same encryption method as Drupal. You could test this by copying /app/code/core/Mage/Core/Model/Encryption.php
to /app/code/local/Mage/Core/Model/Encryption.php
in the first instance and implementing your changes there. Then look for an observer method you could utilise moving forward or rewrite the item.