1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Q&A captcha dosent work

Discussion in 'Resolved Bug Reports' started by Kaiser, Jan 13, 2011.

  1. Kaiser

    Kaiser Well-Known Member

    Just tested it by trying to register on my forum, everytime you enter the answer it like just dissapears completely everytime.. it dosent work and wont let members join.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Using a simple Q of What is 2+2 and an answer of 4, I get the following:

    Please correct the following errors:
    1. You did not complete the CAPTCHA verification properly. Please try again.
  3. Elizabeth

    Elizabeth Well-Known Member

    I just tested it and mine worked after a false start...I used questions generated by failed questions from WolframAlpha
  4. Kier

    Kier XenForo Developer Staff Member

    There is an omission in the captcha_question template that can cause the question to invalidate itself when filling in the form.

    To correct it, edit the captcha_question template and look for this:
    HTML:
    class="textCtrl"
    then replace it with this:
    HTML:
    class="textCtrl OptOut"
    AlexandrosD, Decent60 and Kaiser like this.
  5. Kaiser

    Kaiser Well-Known Member

    Thanks for the update :) One question, is it okay having 1 Q&A, or should I use multiple?
  6. Kier

    Kier XenForo Developer Staff Member

    I'd suggest having several in order to avoid simple replay attacks. However many you have, don't reveal that number.
  7. Kaiser

    Kaiser Well-Known Member

    Alright thanks, I hope you read my other thread, thanks so much to both you and mike :)
  8. Elizabeth

    Elizabeth Well-Known Member

    I used multiple myself
  9. Kaiser

    Kaiser Well-Known Member

    Adding some right now.
  10. Miko

    Miko ThemesInc.com


    Hi Kier,
    that fixed it but now there is no Ajax validation for the Q&A Captcha.

    Is that the new default behaviour or is it going to be fixed in B7?

    thanks
  11. Kier

    Kier XenForo Developer Staff Member

    That's intentional. The CAPTCHA is intended to be submitted along with the rest of the form, and can only be checked once before being invalidated. If it were checked with AJAX before the form is submitted, it would have to generate a whole new question, rendering the answer pointless.
    Miko likes this.

Share This Page