Problem/Motivation

The captcha element is being saved to the database as a part of YAML form submission. The captcha element should be ignored since it is only intended to verify a user and the actual posted value is irrelevant.

Proposed resolution

  • Create a YamlFormElementHandler for captcha which extend ContainerBase.
  • Filter out posted captcha data from a YAML form submission.
  • Look into hiding the captcha element for authenticated users.
  • Write tests for new YamlFormElementHandler hooks.

API changes

  • Most likely need to add hooks to the YamLFormElementHandler plugin.

Development Notes

  • Branch Name: 2742229-improve-captcha-integration
  • Patch Name: yamlform-improve-captcha-integration-2742229-XX.patch
  • Commit message: Issue #2742229: Improve Captcha integration.
CommentFileSizeAuthor
#6 improve_captcha-2742229-6.patch20.08 KBjrockowitz

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Issue summary: View changes
jrockowitz’s picture

Issue summary: View changes

  • jrockowitz committed 11379f3 on 2742229-improve-captcha-integration
    Issue #2742229: Improve Captcha integration
    
  • jrockowitz committed c600227 on 2742229-improve-captcha-integration
    Issue #2742229: Improve Captcha integration. Update...

  • jrockowitz committed f4c9f60 on 2742229-improve-captcha-integration
    Issue #2742229: Improve Captcha integration. Fix YamlFormElementPlugin...
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new20.08 KB

  • jrockowitz committed ed4c981 on 8.x-1.x
    Issue #2742229: Improve Captcha integration
    
jrockowitz’s picture

Status: Needs review » Closed (fixed)