mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add validation to prevent invalid ports, closes #1034
This commit is contained in:
@@ -8,9 +8,10 @@ return [
|
||||
],
|
||||
'allocations' => [
|
||||
'server_using' => 'A server is currently assigned to this allocation. An allocation can only be deleted if no server is currently assigned.',
|
||||
'too_many_ports' => 'Adding more than 1000 ports at a single time is not supported. Please use a smaller range.',
|
||||
'too_many_ports' => 'Adding more than 1000 ports in a single range at once is not supported.',
|
||||
'invalid_mapping' => 'The mapping provided for :port was invalid and could not be processed.',
|
||||
'cidr_out_of_range' => 'CIDR notation only allows masks between /25 and /32.',
|
||||
'port_out_of_range' => 'Ports in an allocation must be greater than 1024 and less than or equal to 65535.',
|
||||
],
|
||||
'nest' => [
|
||||
'delete_has_servers' => 'A Nest with active servers attached to it cannot be deleted from the Panel.',
|
||||
|
||||
Reference in New Issue
Block a user