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

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

In this article, we are going to learn how to solve below error while logging in Magento Admin Panel,

Β β€œyou did not sign in correctly or your account is temporarily disabled”

 

This error occurs due to Magento 2’s security system. Magento 2 will temporarily disable accounts that do not meet it’s password complexity requirements.

By default, in Magento 2, the password that meets security requirement must consist of:

  1. Uppercase letters
  2. Lowercase letters
  3. Numeric
  4. Special characters
  5. Minimum of 8 characters

The following are the solutions to this issue. Try any of them to see if it works for you.

Solution 1: Unlock the Account

Magento sometimes locks an account for security purposes. In this case, you can unlock it by going to your Magento 2 root folder in the command or terminal and run below command:

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

Example: php bin/magento admin:user:unlock admin

 

Solution2:-

Go to localhost/phpmyadmin/Β  on your browser and select your Magento 2 database.

After that use this syntax to change Magento 2 password using Mysql command

SET @salt = MD5(UNIX_TIMESTAMP());
UPDATE admin_user SET `password` = CONCAT(SHA2(CONCAT(@salt, 'NewP@ssword'), 256), ':', @salt, ':1') WHERE username = 'adminusername';
Replace:
  • NewP@sswordΒ withΒ  your desired password (must meet Magento 2 security requirement)
  • adminusernamewith your admin account username

EX:-

SET @salt = MD5(UNIX_TIMESTAMP());

UPDATE admin_user SET `password` = CONCAT(SHA2(CONCAT(@salt, 'Admin@123456'), 256), ':', @salt, ':1') WHERE username = 'admin';

After running the command above, your admin account will be updated with the new password you set inΒ CONCAT(SHA2(CONCAT(@salt,Β 'NewP@ssword'),Β 256)
Now you can login to your account normally.

Solution 3: Create a New Admin Account

If none of the above solutions work, create a new admin account. Run the command below to do so.

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

php bin/magento admin:user:create --admin-user="admin" --admin-password="Admin@123456" --admin-email="thecoachsmb@gmail.com" --admin-firstname="Admin" --admin-lastname="Admin"

Cheers !!

Solution 4:

Perform following steps:-

    • Remove semicolon from the beginning of the line ;extension=sodium from php.ini which enables it.
    • Copy C:\xampp\php\libsodium.dll to C:\xampp\apache\bin\
    • Restart Apache means stop and start Apache.

Solution 5:

Go to: vendor\magento\framework\View\Element\Template\File

EditΒ Validator.phpΒ using a text editor and find this line:

instead of

strpos($realPath, $directory)

use

strpos($path, $directory)

Save the File.

Then,

Open up app/etc/di.xml in the editor,

– Find the path β€œMagento\Framework\App\View\Asset\MaterializationStrategy\Symlink” and replace to β€œMagento\Framework\App\View\Asset\MaterializationStrategy\Copy”

Save the file

 

That’s it.

Happy Learning !!

Thank You !!

Sonal Motghare-Balpande
Sonal Motghare-Balpande

Hello Readers, With over 14 years of experience as a PHP expert and a Magento Certified Professional, I bring both technical mastery and a passion for growth. Beyond coding, I embrace a healthy lifestyle and believe in the transformative power of knowledge. My mission is to empower others through guidance because true success lies in sharing what we know. Let’s grow togetherβ€” Thank You, Sonal

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

  1. Hi

    I tried all three possible solutions suggested by you but still I am getting same error while login on admin panel.
    and i am using server in Filezilla .
    Could you please help me here?

  2. Hi

    I tried all three possible solutions suggested by you but still I am getting same error while login on admin panel.

    Could you please help me here?

    Regards,
    Ravi Ranjan

    1. Perform following steps:-

      1. Remove semicolon from the beginning of the line ;extension=sodium from php.ini which enables it.
      2. Copy C:\xampp\php\libsodium.dll to C:\xampp\apache\bin\
      3. Restart Apache means stop and start Apache.

      That’s it.
      Thank You !!

Leave a Reply

Your email address will not be published. Required fields are marked *

πŸš€ Let’s Connect on LinkedIn! πŸš€

Want to level up your skills and knowledge? πŸš€
Follow us on LinkedIn to get:
βœ… Expert insights on business growth
βœ… Daily tips to sharpen your skills
βœ… Exclusive updates from The Coach SMB

Let's grow together!