0

I have a first install of the opensource 2.3 version with demo data. Everything seems to be working in the public facing pages, but I can't login as Admin. The demo customer login is fine.

I don't get anything in the error logs, the message returned is "The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later."

The user isn't locked.

It seems to blow up in the function at line 568 of

vendor/magento/module-customer/Model/AccountManagement.php
 function authenticate($username, $password) 

But i'm not sure how to follow it after that.

  • first check in your database "admin_user" table, username is there or not, if there then reset the password by direct query in DB, which is fast way. – Sangeeta Chandaliya Oct 31 '19 at 4:25
0

You can create new user with this command:

php bin/magento admin:user:create --admin-user=test --admin-password=test456 --admin-email=test@oscprofessionals.com --admin-firstname=Test --admin-lastname=User

Then Your User Name will be : test and Password will be : test456

Then You can easily loggedin in Backend.

|improve this answer|||||
  • Thanks, but that doesn't work either. – user3511861 Oct 31 '19 at 17:00
  • 1
    I guess I was trying to do an admin login on the customer login page. Carry over from working with drupal. Thanks. – user3511861 Oct 31 '19 at 19:26
  • Okay, But this will help you to solve this problem for next time. – Oscprofessionals Nov 1 '19 at 4:55
  • 1
    Yes, I learned a lot about how the admin user is created. Thanks. – user3511861 Nov 2 '19 at 16:57
0

I was trying to login as an admin on the customer login page. I did a wizard install which redirected me to the correct login page and everything works.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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