User Name and Password are the required fields if you want to log in the Magento admin. And it is the huge trouble if you forget one of them. Therefore, resetting admin password is very essential to every store. With Magento 2, “Forgot your password” link is available to click, then a temporary password can be sent to the email address that is associated with the account immediately. If the admin account get lock, this tutorial will help. Let do the following steps to reset your admin password in Magento 2.
There are 3 way to reset the admin password in Magento2:
Go to phpmyadmin and copy the following sql query:
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
xxxxxxx character sequence is a cryptographic salt, it is saved in
<?php return array ( ... 'crypt' => array ( 'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt ), ...
Forgot Your Password?link.
Retrieve Password. If there is an account associated with the email address, an email will be sent to reset your password. To prevent email to spam box, enable SMTP here
Ref: Magento 2 user guide
It comes to the end of tutorial: How to reset admin password in Magento 2.
Want to apply these above Invoice templates for your store?