Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Latest version of captcha module provides support for refreshing image captcha. Can we've same for captcha in webform module as well.
Comment | File | Size | Author |
---|---|---|---|
#5 | 3094910-5.patch | 2.89 KB | yogeshchaugule8 |
| |||
#3 | 3094910-3.patch | 2.43 KB | jrockowitz |
| |||
#3 | Screen Shot 2019-11-17 at 12.16.17 PM.png | 75.34 KB | jrockowitz |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedCan you please attach a screenshot of the new feature?
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedSince the Webform module is implementing CAPTCHA via a webform element, the image refresh link needs to be added via a little custom.
Please review the attached patch.
Comment #4
yogeshchaugule8 CreditAttribution: yogeshchaugule8 commentedThanks jrockowitz for quick response & solution.
I've verified the captcha with refresh link on webform and it is working properly.
Comment #5
yogeshchaugule8 CreditAttribution: yogeshchaugule8 commentedHi jrockowitz,
When configuring captcha in Webform, if captcha element is configured to render default captcha (default to image in captcha config), the refresh button doesn't work. It must be set to "image_captcha/Image" in webform captcha element for this to render. Where as this is not the case with captcha module.
I've updated a patch, which works for default configuration as well.
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI verified that the image refresh link is not a new feature and there is minimal risk.
@see #2608540: Add Image CAPTCHA Refresh to the module patch
I committed the patch. Please download the latest dev release to review.
Comment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented