mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
feat(ssh-keys): add ssh key endpoints and ui components
This commit is contained in:
14
app/Http/Requests/Api/Client/Account/StoreSSHKeyRequest.php
Normal file
14
app/Http/Requests/Api/Client/Account/StoreSSHKeyRequest.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Pterodactyl\Http\Requests\Api\Client\Account;
|
||||
|
||||
use Pterodactyl\Models\UserSSHKey;
|
||||
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
|
||||
|
||||
class StoreSSHKeyRequest extends ClientApiRequest
|
||||
{
|
||||
public function rules(): array
|
||||
{
|
||||
return UserSSHKey::getRules();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user