Hello
Good-Morning to all
I forget my main Magento website password. so i try to reset password through Magento[dot]com "forget password" link mentioned bellow the login page. But from last 7 days i try every day but not receiving any "RESET LINK" in my registered email.
Without Reset link how can i change my password.
Please someone help me.
Looking forward to your help
Hello @vikas_dxt ,
You can reset other 2 way to reset your password
Solution 1: Reset Magento 2 admin password in phpmyadmin
Go to phpmyadmin and copy the following sql query:
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 return array ( ... 'crypt' => array ( 'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt ), ...
Solution 2: Reset Magento 2 admin password via command line (cli)
We typed on Magento 2 root folder:
php bin/magento -h
It show the admin command line:
... admin admin:user:create Creates an administrator admin:user:unlock Unlock Admin Account ...
Magento 2 does not support reset password via command line. However, we can create a new admin account, then use the new account to reset the old one.
php bin/magento admin:user:create --admin-user='new-admin' --admin-password='!admin123!' --admin-email='info@domain.com' --admin-firstname='Jon' --admin-lastname='Doe'
--
If my answer is useful, please Accept as Solution & give Kudos
Thanks for reply.
I want to rest Magento main website password. This website password Magento[dot]com
I don't want to reset Magento admin password.
I want to reset password Magento Marketplace website or Magento[dot]com password
Hi @vikas_dxt
I understand the problem you are facing !
If you are not able to received rest password link email from the magento.com website - then i would say you will require to contact their support team.
Also @sherrie - Community Manager - Might help you in this case ! You can contact to her as well !
Hope it helps !
Hello @vikas_dxt ,
Basically, you directly download it to the root of your Magento project
wget https://files.magerun.net/n98-magerun2.phar
Next set executable permissions (for UNIX users only)
chmod +x ./n98-magerun2.phar
Now when you run
php n98-magerun2.phar
You will get a list of all available commands offered by the tool.
Now for resetting a forgotten admin user password first we need to get the username of the admin user, to get that we can run
php n98-magerun2.phar admin:user:list
This will provide you a list all the available admin user, the output will look something like
+----+-----------------+-------------------------------+--------+ | id | username | email | status | +----+-----------------+-------------------------------+--------+ | 1 | admin | admin@example.com | active | | 2 | nextadmin | nextadmin@example.com | active | +----+-----------------+-------------------------------+--------+
Now to reset the password we do
php n98-magerun2.phar admin:user:change-password
You will be prompted for the username of the admin user and new password for that user.
Username:adminPassword:123456 Password successfully changed
--
If my answer is useful, please Accept as Solution & give Kudos
@vikas_dxtSeems like you have account on Magento.com using your Gmail account. That's what I can assume looking at your screenshot. There can be 3 options:
1. Emails may be going to Spam / Categories folder like Forum / Promotion etc.
2. You may have signed up using some other email addresss. Did you create a new Magento.com account to ask this question?
3. Connect Magento support to help you reset your password in someway. This might take sometime.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
I checked all my email folder including promotion and spam
@vikas_dxtPlease see below. This is how it looks if you have an account. I would recommend try to sign-up with the email address you are using just to confirm if you have an account. If you do and still does not receive an email then connect with Magento support or create a new account with different email address.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.