The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

Solved - The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later

When you try to login to your Magento admin, you may get this message The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. You don’t know that you are not using the correct username or password. In this guide, we will show you how to resolve this sign-in problem You did not sign in correctly or your account is temporarily disabled.

In Magento forum, you can see that there are many people who encounter the same problem.

you-did-not-sign-in-correctly-or-your-account-is-temporarily-disabled-magento-2

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

I have been installing via the command line and ran into this problem yesterday. After banging my head off the wall all day, I tried creating a new user via the cli ./bin/magento admin:user:create and that’s when I noticed an error. I guess usually my random typing contains numbers.

The fix was to make sure there is an alpha character and a numeric character in the admin password]. This should be labeled a bug if the password is not validated during install with magento setup:install. You can reset the admin password here.

Password requirements are

  • User Name is a required field.
  • First Name is a required field.
  • Last Name is a required field.
  • Please enter a valid email.
  • Password is required field.
  • Your password must be at least 7 characters.
  • Your password must include both numeric and alphabetic characters.

Reference: @rapidmod

Solution 1: Unlock admin account

Try command in case the account is locked

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

or go to Magento 2 root folder and type

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

Example

php bin/magento admin:user:unlock admin

That’s it. You have completed unlocking your admin account.

Solution 2: Database Check for Locked User

  • Connect to your Database and inspect the admin_user table.
  • Identify the locked user and activate it by setting the is_active column to 1.

Note: You can also attempt to clear the admin sessions table admin_user_session.

Solution 3: Create a New Account

Execute the command:

php bin/magento admin:user:create --admin-user="username" --admin-password="mypassword" --admin-email="[email protected]" --admin-firstname="Admin" --admin-lastname="Admin" 

Use the -h option to view the required options.

Solution 4: Follow these steps

  • Edit the php.ini file and remove the semicolon from the beginning of the line ;extension=sodium to enable it.
  • Copy the C:\xampp\php\libsodium.dll file to C:\xampp\apache\bin.
  • Restart Apache, which involves stopping and then starting the Apache service.
  • After completing the above steps, execute the following commands in SSH:
  • Run the setup upgrade command:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento clear:cache

Now I believe the error The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later in Magento 2 is not your problem anymore. If you still need help, contact us here.

Find out how to reset a locked admin account

Image Description
With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.

Looking for Magento Development Company?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service
x

    Explore Our Products:

    Subscribe

    Stay in the know

    Get special offers on the latest news from Mageplaza.

    Earn $10 in reward now!

    Earn $10 in reward now!

    comment
    iphone
    go up