2) The phpBB ban function need to be fixed to work faster and more precise.
3) If an user is logged in phpBB with another username, and at same time as another in wp on different tabs, users follows as logged into both as different.
Code: Select all
if( $current_user->user_email != mb_strtolower($phpbb_user_session[0]->user_email,'UTF-8') ){
wp_destroy_current_session();
wp_clear_auth_cookie();
wp_set_current_user( 0 );
}
....