By default, Magento 2 encrypts owner’s password using SHA-256 algorithm (have in mind that encryption methods can vary from version to version). The measures are taken to eliminate hackers ability to penetrate into your store database and stole the password. Thus, if you have forgotten or lost magento admin password, it can only be replaced with a new one, which in its turn will also be encrypted during the process.
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxxNewPassword', 256), ':xxxxxxxx:1') WHERE username = ‘admin';
The admin password can be recovered with the default recovery system with the help of the Magento reset password link. In Magento 2 to change customer password if it is an admin go to your Admin Panel and choose the ‘Forgot your password?’ link. Put in your email address and click the Retrieve Password button:
You will be sent a link following which you will manage to reset a current password:
Looking for administrative extensions for your platform? Pay attention to our Magento lost admin password and other modules.
Boost your Magento 2 store's visual appeal with Amasty's Product Labels Extension. This extension allows you to create eye-catching labels for your products, highlighting special offers and new arrivals. It seamlessly integrates with your Color Swatch Extension to enhance product presentation and attract customer attention.
Login and Registration Form