Created
April 5, 2022 16:45
-
-
Save mehdichaouch/e76002128c3c45b794341eaf2a716d85 to your computer and use it in GitHub Desktop.
Magento 2 SQL snippet to reset admin password
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
# xxxxxxxx is the salt - it can change or stay like that | |
# admin123 is the password, you must change it | |
UPDATE admin_user SET `password` = CONCAT(SHA2('xxxxxxxxadmin123', 256), ':xxxxxxxx:1') WHERE `username` = 'admin'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment