更新 Speed/StoreServerRequest.php
This commit is contained in:
parent
341ccfb86c
commit
de2557ed45
@ -33,6 +33,7 @@ class StoreServerRequest extends BaseApiRequest
|
|||||||
'limits.snapshots' => $rules['snapshot_limit'],
|
'limits.snapshots' => $rules['snapshot_limit'],
|
||||||
'limits.backups' => $rules['backup_limit'],
|
'limits.backups' => $rules['backup_limit'],
|
||||||
'limits.bandwidth' => $rules['bandwidth_limit'],
|
'limits.bandwidth' => $rules['bandwidth_limit'],
|
||||||
|
'limits.rate_limit' => $rules['rate_limit'],
|
||||||
'limits.address_ids' => 'sometimes|nullable|array',
|
'limits.address_ids' => 'sometimes|nullable|array',
|
||||||
'limits.address_ids.*' => 'integer|exists:ip_addresses,id',
|
'limits.address_ids.*' => 'integer|exists:ip_addresses,id',
|
||||||
'account_password' => ['required_if:should_create_server,1', 'string', 'min:8', 'max:191', new Password(
|
'account_password' => ['required_if:should_create_server,1', 'string', 'min:8', 'max:191', new Password(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user