1

Can’t login into the admin panel of Magento2.also try command in case the account is locked is?

php bin/magento admin:user:unlock ADMINUSERNAME

And manually edit password in the admin_user table in the database. But it seems not fixed it.

enter image description here

1 Answer 1

0

You don't change the password from the admin_user table.

You must run below command for enabling the user. You must change username with your username (Ex.: admin).

php bin/magento admin:user:unlock username
7
  • He already tried this solution. He mentioned above command in his question Commented Sep 20, 2017 at 20:08
  • I saw, but you change the password in the admin_user table and is not ok.
    – St3phan
    Commented Sep 20, 2017 at 20:10
  • You can add a new user from terminal command and after change password your old account from admin panel.
    – St3phan
    Commented Sep 20, 2017 at 20:12
  • @St3phan, I already run above command which you have mentioned but getting same error. Commented Sep 21, 2017 at 5:02
  • Did you try to create a new user from the terminal?
    – St3phan
    Commented Sep 21, 2017 at 7:18

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.