I think the function to hide the host field in the login form should be rewritten to
PHP Code:
function template_object_loginform($args)
{
$args['content'] = preg_replace("/<tr>\s*<td class=\"title\">\s*<label for=\"rcmloginhost\">(.*?)<\/label>\s*<\/td>\s*<td class=\"input\">\s*<input name=\"_host\"([^>]*)>\s*<\/td>\s*<\/tr>/is","",$args['content']);
return $args;
}
because the field does have variable attributes. e.g. attributes size and autocomplete are not always there.