cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 LogIn Issue

New Contributor

Magento 2 LogIn Issue

Hi guys I am unable to login at admin panel on localhost.It works fine when I install Magento 2 but now after somedays when I again login it is throwing an error that "You did not sign in correctly or your account is temporarily disabled." While I change the base_url from localhost to 127.0.0.1. And I try to login from different browsers too. I clear chache but nothing is working.The only thing I change is I do reindexing from cmd I think after that this problem arises.

 

Please tel me what's wrong?

7 REPLIES
Moderator

Re: Magento 2 LogIn Issue

Topic moved to the Magento 2 section. Smiley Happy

James Lee | Moderator · 2016 Magento Master · President
Aspiration Hosting - Magento 1 & 2 Optimized Cloud Hosting
Problem solved? Click Accept as Solution!
Contributor

Re: Magento 2 LogIn Issue

Contributor

Re: Magento 2 LogIn Issue

Here are a solution:

 

try command in case the account is locked

 

./bin/magento admin:user:unlock <username>

//or go to Magento 2 root folder and type

magento admin:user:unlock <username>

 
Regular Visitor

Re: Magento 2 LogIn Issue

Hi,

I still could not login in my magento admin page after the command ./magento admin:user:unlock "username" was successfully executed.

I already reset my admin user password many times using phpmyadmin. I even created few users using phpmyadmin and unlock them using the magento unlock command, and to no avail ...... please help

 

Best regards,

Wan

 

New Contributor

Re: Magento 2 LogIn Issue

Same here, I can login fine to the admin but trying to get a token from REST API fails: /index.php/rest/V1/integration/admin/token

I have tried to unlock, but it says "The user account "**********" was not locked or could not be unlocked"

And the token request says: {'message': 'You did not sign in correctly or your account is temporarily disabled.'}

Please anyone?

Senior Member

Re: Magento 2 LogIn Issue

Same Problem found.

I also Unlock admin user using command line and also change password from database but still can not login.

If anyone found solution pls reply.

Highlighted
New Contributor

Re: Magento 2 LogIn Issue

same here witch 2.1.8 after reindex