Last active
May 31, 2021 23:59
-
-
Save reinaldomendes/db70f282dabe7c045c956e1e7e3fc59a to your computer and use it in GitHub Desktop.
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
set @salt=substr(md5(concat('salt',CURRENT_TIME)),1,5) | |
set @pass='pass'; | |
set @user="root"; | |
update admin_user set `password`=CONCAT(SHA2(concat(@salt,@pass), 256),":",@salt,":1") WHERE `username`=@user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment