0

My customer gets logged in successfully into their account but still magento shows error message. https://nimb.ws/GicM2b How to resolve this?

1 Answer 1

0

From the login page , somehow your code reaches to this controller page (file: /vendor/magento/module-customer/Controller/Account/LoginPost.php), here you will see that message , then you can edit here or in your custom module.
Edit
I checked your case , so in your case this file will be present in your custom module, override is given already by you , you need to recognize/ find your modified controller file, it will be very similar to above mentioned file and you can further edit that custom controller file.
Edit 2 - Image is added for your reference enter image description here Thanks
Vibhore

2
  • Why that message is coming? Customer is successfully logged in. I dont want to show that message
    – Nafsss
    Commented Apr 20, 2021 at 11:34
  • Once you reach the correct file , then you can modify the php code and need not to display that according to your programming conditions. Commented Apr 20, 2021 at 11:36

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.