Problem/Motivation
I would like to use Captcha with GraphQL. For this, I tried to use https://github.com/duartegarin/graphql_webform. My Problem is, that I cannot access the challenge generated by this module. I only get these values:
{
"#type": "captcha",
"#captcha_type": "image_captcha/Image",
"#captcha_title": "My custom title.",
"#captcha_description": "My custom description.",
"#id": "captcha",
"plugin": {}
}
How can I access the challenge (image or math)?
Steps to reproduce
Install GraphQL + https://github.com/duartegarin/graphql_webform + this module. `Drupal\webform\Plugin\WebformElement\Captcha` does not expose challenge.
API changes
Expose captcha challenge.
Comments
Comment #2
fidoxe9367 commentedComment #3
avpadernoComment #4
grevil commentedComment #5
anybody