magento / security-package

Magento Security Extensions
Open Software License 3.0
66 stars 69 forks source link

Add ReCaptcha coverage for Contact GraphQL (SwiftOtter's SOP-348) #335

Open lbajsarowicz opened 1 month ago

lbajsarowicz commented 1 month ago

Description (*)

According to the official documentation, Magento 2.4.7 comes without ReCaptcha coverage for Contact form GraphQL endpoint.

image

This Pull Requests fills this incomprehensible gap.

Fixed Issues (if relevant)

  1. magento/magento2#: Issue title

Manual testing scenarios (*)

GraphQL call to verify:

mutation {
  contactUs(
    input: {
      email: "test@example.com",
      name: "Test User",
      telephone: "1234567890",
      comment: "This is a test comment."
    }
  ) {
    status
  }
}

Questions or comments

Contribution checklist (*)

lbajsarowicz commented 1 month ago

@magento run all tests

lbajsarowicz commented 1 month ago

@ihor-sviziev Can you take a look?