MyBB Community Forums

Full Version: where is the code that redirects to Captcha after failed login attempts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys where is the code that redirects users to captcha after they have entered wrong password/username X times?
Member.php at around line 1173
Search for
	if($mybb->settings['failedcaptchalogincount'] > 0 && ($loginattempts > $mybb->settings['failedcaptchalogincount'] || intval($mybb->cookies['loginattempts']) > $mybb->settings['failedcaptchalogincount']))
if you can't find it.
Thanks man very much!