How to Fix- Account is temporarily disable in Magento

When you got this message when you tried to sign in to your Magento administrator and you have not logged in properly or your account has been temporarily disabled. In this tutorial, we will explain you how to fix this login issue. “your account is temporarily disabled or You are not logged in properly”.

You can notice that many people face the same problem in the Magento forum.

I dash into this problem, after hitting my head off the wall throughout the day, installing it through the command line, I tried building a new user via cli ./bin/magento: user: create and error when I noticed one. I generally consider that my random typing numbers includes.

The solution is ​​to ensure that an admin character has an alpha role and a number character. With Magento setup:install, password is not valid during the installation, it should be named as an error.

Password needed:

  • The username is a required field.
  • The first name is a required field.
  • The last name is a required field.
  • Please enter a valid email.
  • Password Required Field
  • Your password must contain atleast 7 characters.
  • You should have your password number and alphabetical characters

Reference:  @rapidmod

Solution: Unlock admin account

Try Command if the account is locked

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

Or Navigate to Magento 2 root directory and type

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

Examples :

php bin/magento admin:user:unlock admin






Leave a Reply

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