mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
2.x - backups
This commit is contained in:
@ -12,7 +12,12 @@ public function validationRules(): array
|
||||
{
|
||||
return [
|
||||
'host' => 'required',
|
||||
'port' => 'required|numeric',
|
||||
'port' => [
|
||||
'required',
|
||||
'integer',
|
||||
'min:1',
|
||||
'max:65535',
|
||||
],
|
||||
'path' => 'required',
|
||||
'username' => 'required',
|
||||
'password' => 'required',
|
||||
|
@ -13,11 +13,11 @@ class S3 extends S3AbstractStorageProvider
|
||||
public function validationRules(): array
|
||||
{
|
||||
return [
|
||||
'key' => 'required|string',
|
||||
'secret' => 'required|string',
|
||||
'region' => 'required|string',
|
||||
'bucket' => 'required|string',
|
||||
'path' => 'required|string',
|
||||
'key' => 'required',
|
||||
'secret' => 'required',
|
||||
'region' => 'required',
|
||||
'bucket' => 'required',
|
||||
'path' => 'required',
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -15,11 +15,11 @@ class Wasabi extends S3AbstractStorageProvider
|
||||
public function validationRules(): array
|
||||
{
|
||||
return [
|
||||
'key' => 'required|string',
|
||||
'secret' => 'required|string',
|
||||
'region' => 'required|string',
|
||||
'bucket' => 'required|string',
|
||||
'path' => 'required|string',
|
||||
'key' => 'required',
|
||||
'secret' => 'required',
|
||||
'region' => 'required',
|
||||
'bucket' => 'required',
|
||||
'path' => 'required',
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user