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)

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              battye battye
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: