E-CommerceMagento 2 TutorialsMay 24, 2024Simon Walker

Fixed: You Did Not Sign in Correctly or Your Account is Temporarily Disabled

Fixed: You Did Not Sign in Correctly or Your Account is Temporarily Disabled

Are you facing the following issues:

  • The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.
  • Magento 2 the account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.
  • Magento the account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.

If yes, then you are not the only one. We understand how frustrating the “you did not sign in correctly or your account is temporarily disabled” error can be and how much it impacts your work. What makes it even more frustrating is that you are 200 per cent sure that you are entering the correct username and password.

your-account-is-temporarily-disabled

Following are the error messages that appear while logging-in to Magento admin panel:

Magento 2.0 - 2.2.9:
  • You did not sign in correctly or your account is temporarily disabled.
In Magento 2.3.x:
  • The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.

What Causes this Error?

There are several reasons you may be encountering this error, including:

Incorrect Credentials

The most common reason is that you are entering incorrect username and/or password. Doublecheck that the entered information is correct.

Account Lock

If you enter incorrect information multiple times, Magento may temporarily lock the account. Wait for this period to expire before trying to login again.

Account Deleted

The admin may have deleted your account. Confirm from the store admin whether your account is still active.

Server Issues

In certain cases, the problem is not with the user credentials but the server. If the server is experiencing problems, you may have trouble logging in to your account.

How To Solve This Error?

Following are the possible solutions to the issue. Try any of them to see if it works for you.

Solution 1: Unlock the Account

Magento sometimes unlock an account for security purposes. In this case, you can unlock it by going to your Magento 2 root folder via SSH/PUTTY and running the following command.

 
php bin/magento admin:user:unlock <username>
Example:  php bin/magento admin:user:unlock admin

Alternatively, go to bin directory from Magento 2 root: cd bin/ and run the command below.

 
php magento admin:user:unlock <username>
Example: php magento admin:user:unlock admin

Solution 2: Check the Locked User in the Database

The above solution should fix the issue. If it persists, try the following.
  • Connect to your database and check the admin_user table.
  • Find the user that is locked and make sure that the is_active column is set to 1.

You can also try to truncate the admin sessions table admin_user_session

Solution 3: Create a New Admin Account

If none of the above solutions work, create a new admin account as last resort. Run the command below to do so. Put -h at the end to see the required options.

 
php bin/magento admin:user:create --admin-user="username" --admin-password="mypassword"--admin-      
email="paul@fmeextensions.com" --admin-firstname="Admin" --admin-lastname="Admin"

Password Cautions

To ensure this issue does not occur again, make sure you enter a secure password which meets the following conditions.

  • At least 8 characters long
  • Includes both alphabetic and numeric characters
  • Don’t try a wrong password multiple times to avoid Magento locking your account.

Conclusion

This concludes our article on how to fix the “The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later” error in Magento 2. If you are still getting this error despite trying all three solutions, contact us. Our Magento development experts will resolve the issue in no time at all.

Related Posts: