My website is getting 300+ spam users for a day, On checking it seems to be from Customer API which Magento provides.

How can I stop this users, Is there any way that I can restrict the customer API.

  • 2
    You can have captcha or google captcha for genuine user validation. – Knight017 May 15 '19 at 18:02
  • I am sure that registration dint happen from signup, Its from API will captcha help for API hits. – fernandus May 16 '19 at 9:45
  • Any one to help me on this. – fernandus May 19 '19 at 6:57
  • 1
    I'm not sure but you can update "anonymous" to "self" in vendor\magento\module-customer\etc\webapi.xml or you should overwrite this file properly in your module. – Knight017 May 25 '19 at 9:26

Your Answer

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

Browse other questions tagged or ask your own question.