Why?
Phpbb3 logs every login attempt. If you have too many failed logins you must enter a code (CAPTCHA). But this WP plugin does not facilitate in that.
Here is the solution:
OPEN
Code:
connect-phpbb.php
FIND
Code:
// AUTHENTICATE
add_action('wp_authenticate_user','op_login',10,2);
function op_login(&$userdata,$password){
if(file_exists(ABSPATH.'/'.PHPBBPATH.'config.php')){ // check to see if phpBB exists
if(defined('IN_PHPBB')){
return $userdata; // return if we're already in phpBB (to avoid a loop)
}
AFTER, ADD
Code:
// FIX start, RamonFincken.com WebsiteFreelancers.nl
// Fix for phpbb3 login attempts. If too many failed logins, phpbb demands you enter a visual code
// So include ( but do not use ) the class to make phpbb happy :)
define(IN_PHPBB,true);
include_once('./'.PHPBBPATH.'includes/captcha/captcha_factory.php');
// FIX end, RamonFincken.com WebsiteFreelancers.nl
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum