Just a cheat Sheet
Last active
January 10, 2020 01:59
-
-
Save dfelton/6fa4277b97a63a673ea6950d0cad05ba to your computer and use it in GitHub Desktop.
Magento 2 Cheat Sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Set customer password via the database | |
SET @email='[email protected]', @passwd='test@123', @salt=MD5(RAND()); | |
UPDATE customer_entity | |
SET password_hash = CONCAT(SHA2(CONCAT(@salt, @passwd), 256), ':', @salt, ':1') | |
WHERE email = @email; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment