diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index af94f3f041..823c71dbf0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4003,6 +4003,11 @@ function phpbb_http_login($param) { return; } + else if ($auth_result['status'] == LOGIN_ERROR_ATTEMPTS) + { + header('HTTP/1.0 401 Unauthorized'); + trigger_error('NOT_AUTHORISED'); + } } // Prepend sitename to auth_message