Recaptcha validation always getting failed when using this module with REST API

Created on 1 February 2025, 3 months ago

Problem/Motivation

When a user is using this module with REST API, recaptcha validation always getting failed.

Steps to reproduce

Add recaptcha to a REST Webform and try submitting the data, always getting the validation fails error.

Proposed resolution

In the recaptcha_captcha_validation function, check whether the request content type is json and get 'g-recaptcha-response' value accordingly.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.4

Component

General

Created by

🇮🇳India sijumpk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024