misc_pterodactyl-panel/app/Http/Requests/Base/CreateClientApiKeyRequest.php

22 lines
424 B
PHP
Raw Normal View History

2018-03-01 05:30:39 +00:00
<?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',
];
}
}