Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16026

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • 3.2.5
    • None
    • Authentication
    • n/a

    Description

      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...

      Attachments

        Activity

          People

            Unassigned Unassigned
            battye battye [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: