create admin password in magento 2
bin/magento admin:user:create --admin-user="admin2" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Amin" --admin-lastname="Admin"
create admin password in magento 2
bin/magento admin:user:create --admin-user="admin2" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Amin" --admin-lastname="Admin"
Reset Admin password in Magento 2
bin/magento admin:user:create --admin-user="admin" --admin-password="admin123" --admin-email="[email protected]" --admin-firstname="Amin" --admin-lastname="Admin"
reset admin password magento 2
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
The xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file
<?php
...
'crypt' => [
'key' => 'f323fedda15153db7783e4610137a581'
],
...
?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us