2009-06-22, 12:59 PM
If the board is closed and someone enters the wrong password several times the captcha in the login form is missing.
Possible fix: Open global.php and find:
Possible fix: Open global.php and find:
if($mybb->settings['boardclosed'] == 1 && $mybb->usergroup['cancp'] != 1 && !($current_page == "member.php" && ($mybb->input['action'] == "login" || $mybb->input['action'] == "do_login" || $mybb->input['action'] == "logout")))
Replace with:if($mybb->settings['boardclosed'] == 1 && $mybb->usergroup['cancp'] != 1 && !($current_page == "captcha.php" || ($current_page == "member.php" && ($mybb->input['action'] == "login" || $mybb->input['action'] == "do_login" || $mybb->input['action'] == "logout"))))