I recently install magento which version is above 2.2. When I login into magento then its show
You Did not Sign in Correctly or Your Account is Temporarily Disabled Magento 2
that error…
I also unlocked admin user from php shell cmd
php bin/magento admin:user:unlock magentouser
magentouser
is my magento username
but every time its automatically locked.
5
Answers
Use this to create new user:
The error message you have mentioned generated by magento when you attempt login with wrong username or password. So make sure your username and password must be correct.
First of all try to create a new user using terminal/pUTTY
Then try to login with:
user:superadmin
pass : superadmin@123
if this not work try to install modules that you have installed and then check.
Open the path vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35
if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }
To
if (function_exists('hash_equals')) { return true; }
and now you can access admin directly and then do password change or create new admin user and revert the code changes.
Check if the user password matches the complexity recommended by Magento.
https://docs.magento.com/user-guide/customers/password-options.html
I had a similar issue, every time I tried to log in with the username and password, my account gets temporarily blocked. The issue was that I was using a password that doesn’t match the requirements set by Magento