If you try to login to your Magento 2 admin and got this message: "You did not sign in correctly or your account is temporarily disabled" and resetting your password does not help, here is an easy way to unlock your account via SSH:
1) Login to SSH as this website user or "su" to the user
# su username
2) Go to the Magento root folder (/httpdocs/ on most of our servers)
# cd httpdocs/
3) Run this command to unlock user with username USER (change it to your actual username):
# php bin/magento admin:user:unlock USER
or, if you are using a custom PHP on your website, add PHP path:
# /opt/plesk/php/7.0/bin/php bin/magento admin:user:unlock USER
DONE
... or just ask the support and we will unlock your account for you.
Comments
0 comments
Please sign in to leave a comment.