22 lines
424 B
PHP
22 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',
|
||
|
];
|
||
|
}
|
||
|
}
|