Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16026

Multiple failed log-in text prompts for CAPTCHA instead of Q&A (when Q&A is used)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Trivial Trivial
    • None
    • 3.2.5
    • Authentication
    • n/a

      Easy fix, something like this I think:

      Find:

      $template->assign_vars(array(
          'CAPTCHA_TEMPLATE' => $captcha->get_template(),
      ));

      Before add:

      if ($captcha instanceof \phpbb\captcha\plugins\qa)
      {
          $result['error_msg'] = 'SOME_NEW_LANG_STRING_THAT_MENTIONS_QA';
      }

       

      In these files:

      includes/functions.php:2442
      includes/ucp/ucp_login_link.php:221

       

      I'm not sure when ucp_login_link.php is used though...

            Marc Marc
            battye battye
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: