If captcha is installed and enabled for the user_register form, auto-registration will fail due to the captcha not being solved.
A patch is attached as one possible way to solve the issue.
Steps to reproduce the issue:
1. Install Captcha
2. Install OpenID
3. Enable captcha on User Registration Form
4. Attempt OpenID registration via /user/register
Between making captcha openID-aware and making this module captcha-aware, this seems like the more direct route.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | captchafixopenid64doesntwork.patch | 612 bytes | chirale |
| openid-captchafix.patch | 610 bytes | bdurbin |
Comments
Comment #1
bdurbin commentedA follow-up to the above: The decision to patch on OpenID as opposed to Captcha also takes advantage of the current relative hook execution order between the two modules.
Comment #2
Leeteq commentedComment #3
chirale commentedI try the patch, but I got "Hunk #1 FAILED at 467" on Drupal 6.4.
I re-implement the changes (patch attached) but OpenID registration failed.
Comment #4
joshk commentedFWIW, those needing quick resolution can do this with a custom form_alter like so:
Comment #5
joshk commentedJust another bonus, I had a similar problem w/logintoboggan's desire to validate a "confirm email address" field. Here's a fix to both this and captcha:
Happy Drupaling!