Unlock an administrator account
Use this command to unlock the account of an administrator that was locked, typically because of multiple incorrect login attempts.
bin/magento admin:user:unlock {username}
You must specify the administrator’s username. Example:
bin/magento admin:user:unlock admin
The user account "admin" has been unlocked
If the account is either not unlocked or if there was a problem, the following message displays:
The user account "admin" was not locked or could not be unlocked
Verify that the user is an administrator, the user is active, and that the account is locked. To view the list of locked users in the Admin, log in as an administrator and click System > Permissions > Locked Users.
If the account doesn’t exist, the following message displays:
Couldn't find the user account "bob"
More help on this topic
Previous pageConfigure the store
Next pageCreate or update the deployment configuration