diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 0b5721f216..bfde77cd0f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2352,7 +2352,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa } // Check form key - if ($password && !check_form_key($form_name)) + if ($password && !defined('IN_CHECK_BAN') && !check_form_key($form_name)) { $result = array( 'status' => false,