1

I am Not log in to admin account

Username And Password is Correct but cannot log

please help.

0

I have no idea what the problem might be, but you can still get access by creating another admin account:

php bin/magento admin:user:create --admin-user="USERNAME_HERE" --admin-password="YOUR PASSWORD HERE" --admin-email="your-email-here@email.com" --admin-firstname="FIRST NAME HERE" --admin-lastname="LAST NAME HERE"

After this you should use the new account to login and try to see what's wrong with your old account.

  • how to get and how to reset ? – Elegant Flowers LLC May 11 '19 at 12:39
  • using this commad you can create a new admin account – Rk Rathod May 11 '19 at 12:39
  • and after login with new account you can set old account password – Rk Rathod May 11 '19 at 12:40
  • this command should be used in Magento developer portal right ? – Elegant Flowers LLC May 11 '19 at 12:42
  • we only have the admin access from the hosting company . – Elegant Flowers LLC May 11 '19 at 12:42
0

If you using putty login to putty and direct to Magento directory path. And then run below command.

php bin/magento admin:user:create --admin-user="USERNAME_HERE" --admin-password="YOUR PASSWORD HERE" --admin-email="your-email-here@email.com" --admin-firstname="FIRST NAME HERE" --admin-lastname="LAST NAME HERE"

The above command will create new user. After login to admin go to admin user and check what is the issue with old user which you were trying to login.

If you did not find anything in magento admin then login to Database check for admin_user table and check.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.