Skip to content

Instantly share code, notes, and snippets.

@MaxSouza
Created April 3, 2019 13:57
Show Gist options
  • Save MaxSouza/f0e49b228b7488864bebcfdc99de2c62 to your computer and use it in GitHub Desktop.
Save MaxSouza/f0e49b228b7488864bebcfdc99de2c62 to your computer and use it in GitHub Desktop.
Reset customer password by sql magento 2
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