Don't resolve database hosts; closes #2237

This commit is contained in:
Dane Everitt 2020-08-19 20:38:51 -07:00
parent 61e9771333
commit 540cc82e3d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 64 additions and 6 deletions

View file

@ -3,7 +3,6 @@
namespace Pterodactyl\Http\Middleware\Api\Client\Server;
use Closure;
use Exception;
use Illuminate\Http\Request;
class SubuserBelongsToServer

View file

@ -29,10 +29,6 @@ class DatabaseHostFormRequest extends AdminFormRequest
$this->merge(['node_id' => null]);
}
$this->merge([
'host' => gethostbyname($this->input('host')),
]);
return parent::getValidatorInstance();
}
}