Migrate passwords from legacy systems (current version support only MD5) to Magento 2.
-Install by Composer : You can install the module by Composer by running the following comange in your servercomposer require vvasiloud/passwordadapter
-Install by uploading files:
Download packed as ".zip" file and unzip the extension to {{MAGENTO-ROOT}}/app/code/
Alternatively clone this repository by the following commands:
Use SSH:
git clone git@github.com:vvasiloud/LegacyPasswordAdapter-Magento2.git
Use HTTPS:
git clone https://github.com/vvasiloud/LegacyPasswordAdapter-Magento2.git
After install run the following command using SSH:
php bin/magento setup:upgrade
-
Enable the extension from the Store/Configuration/Vvasiloud and set it to Enabled.
-
Import Customers using Magento Customer import (Main files) by adding 2 extra fields: pa_is_password_patched (with value 0) and pa_md5_hash (with md5 password hashes from the old system)
-
Try to login with user details. When a user will try to login it will compare the plaintext password MD5 has with imported MD5 hash. If the match it will transform plaintext to Magento 2 password hash.
-
Community edition (CE) uses MD5 with salt
-
Enterprise edition (EE) uses sha256 with salt
If you encounter any problems or bugs, please create an issue on GitHub.
Any contribution is highly welcome. To provide any code open a pull request on GitHub.
(c) 2016 vvasiloud