misc_pterodactyl-panel/app/Http/Requests/Api/Remote/AuthenticateWebsocketDetailsRequest.php

21 lines
362 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Remote;
use Illuminate\Foundation\Http\FormRequest;
class AuthenticateWebsocketDetailsRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'server_uuid' => 'required|string',
];
}
}