1. Run command in your server console.
MAGENTO_DIR/bin/magento admin:user:create \ --admin-user="ADMINUSERNAME" \ --admin-password="NEWPASSWORD" \ --admin-email="admin@example.com" \ --admin-firstname="Admin" --admin-lastname="Admin"
2. If you dont have access to the server, you could try updating via your database server.
NOTE: xxxxxx character sequence is a cryptographic salt.UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
it is saved in app\etc\env.php file
<?php return array ( ... 'crypt' => array ( 'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt ), ...
No comments:
Post a Comment