Created
April 3, 2019 13:57
-
-
Save MaxSouza/f0e49b228b7488864bebcfdc99de2c62 to your computer and use it in GitHub Desktop.
Reset customer password by sql magento 2
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
UPDATE `customer_entity` | |
SET `password_hash` = CONCAT(SHA2('xxxxxxxxYOURPASSWORD', 256), ':xxxxxxxx:1') | |
WHERE `entity_id` = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment