misc_pterodactyl-panel/app/Http/Requests/Base/CreateClientApiKeyRequest.php
2018-02-28 23:30:39 -06:00

21 lines
424 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Base;
use Pterodactyl\Http\Requests\FrontendUserFormRequest;
class CreateClientApiKeyRequest extends FrontendUserFormRequest
{
/**
* Validate the data being provided.
*
* @return array
*/
public function rules()
{
return [
'memo' => 'required|string|max:255',
'allowed_ips' => 'nullable|string',
];
}
}