I Installed Magento version 2.2.0. But I am getting error "you did not sign in correctly or your account is temporarily disabled"

  • Please make sure you are using correct username and password of admin. Also please try on another browser OR clear browser cookies and try. Commented Jun 12, 2018 at 12:42
  • Go to this file path and \vendor\zendframework\zend-crypt\src\Utils.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; } Commented Jun 12, 2018 at 12:53
  • Above solution is working for me, Is this a right way. Commented Jun 12, 2018 at 12:54
  • You should not change any core file of Magento. Did you try in another browser? Commented Jun 12, 2018 at 13:01
  • Also please try after deleting pub/static folder and clear caches of Magento Commented Jun 12, 2018 at 13:04

1 Answer 1


Try below command and check, it might be help to you

php bin/magento admin:user:unlock yourAdminUserName

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.