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.
Hello,
I've tried several times that, the user/login form page would disappear if user/password input is right but captcha input is wrong.
I made a link to user/login on my page, so users want to login would click that link and fill the form.
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedI can not reproduce this. Drupal core standard user login page and user login block work as expected (success with correct CAPTCHA response, block with wrong CAPTCHA response and form shows up again).
Are you talking about a custom login form/block. Is there AJAX involved?
Comment #2
rogical CreditAttribution: rogical commentedmy login page is /user/login?destination=eat, I make a menu link to login with the destination of current page.
Comment #3
soxofaan CreditAttribution: soxofaan commentedthanks for the quick response
this is probably duplicate of #960270: Not staying on the login page if the CAPTCHA validation fails
Comment #4
soxofaan CreditAttribution: soxofaan commentedApparently the login handling is a bit different between D6 and D7, so not really a duplicate.
The good news is that the issue is easier to fix for D7:
http://drupalcode.org/project/captcha.git/commitdiff/64810d5
should be available in the next development snapshot.
please reopen when not solved for you