Problem/Motivation

Webform currently provides its own special handling for image_captcha_refresh from the CAPTCHA module.

We're currently working on CAPTCHA 2.x and much of the structure will change. Testing it with Webform showed us, that there may be conflicts with the custom implementation in Webform. Furthermore the additional "image_captcha_refresh" implementation in Webform won't be required anymore.

So I'd strongly suggest removing this special handling from Webform and display the selected captcha as-is.

MR follows.

Steps to reproduce

Proposed resolution

Remove the webform custom image_captcha_refresh entirely.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork webform-3323387

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Anybody created an issue. See original summary.

anybody’s picture

Status: Active » Needs review

jrockowitz’s picture

Do we need to do CAPTCHA version detection and keep the code around for CAPTCHA 8.x-1.x.

jrockowitz’s picture

Status: Needs review » Fixed
anybody’s picture

Thanks @jrockowitz and sorry for the missing reply, I didn't see the notification. I think it's just fine as CAPTCHA 2.x will be the default for Drupal 10 and stability will grow with the removal of this special handling.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

alesr’s picture

Will this fix be also in Webform 6.1.x (stable) because right now it's only in 6.2.x (beta)?

sc_cojocari’s picture

Just in case you need a patch for 6.1.x (tested with 6.1.7)