thank you guy,
how to only use MD5, not salt?
because password from other system.Only md5.
You need:
-
Add an attribute to the
customer
entity type, which will contain the information whether a customer is imported from an external system (which stores the customers password md5 hashes without a salt).
- Import the customers from the external system.
- Create a plugin to the standard customer authentication procedure, which will check whether the currently authenticated customer is impoorted from the external system, and will authenticate it without a salt.
Here is how a password’s hash is generated in Magento 2:
thank you very much.