mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-05-02 04:36:06 +02:00
Don't resolve database hosts; closes #2237
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace Pterodactyl\Http\Middleware\Api\Client\Server;
|
||||
|
||||
use Closure;
|
||||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class SubuserBelongsToServer
|
||||
|
||||
@@ -29,10 +29,6 @@ class DatabaseHostFormRequest extends AdminFormRequest
|
||||
$this->merge(['node_id' => null]);
|
||||
}
|
||||
|
||||
$this->merge([
|
||||
'host' => gethostbyname($this->input('host')),
|
||||
]);
|
||||
|
||||
return parent::getValidatorInstance();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user