From 38cd8f296245c2edb3f0b1290385d31df7a720b8 Mon Sep 17 00:00:00 2001 From: Isaac A <6174343+tenten8401@users.noreply.github.com> Date: Sat, 16 Mar 2019 21:18:46 -0400 Subject: [PATCH] Allow nodes to be created on privileged ports --- app/Models/Node.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Node.php b/app/Models/Node.php index 80c84904f..1a412be95 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -110,8 +110,8 @@ class Node extends Model implements CleansAttributes, ValidableContract 'disk' => 'numeric|min:1', 'disk_overallocate' => 'numeric|min:-1', 'daemonBase' => 'regex:/^([\/][\d\w.\-\/]+)$/', - 'daemonSFTP' => 'numeric|between:1024,65535', - 'daemonListen' => 'numeric|between:1024,65535', + 'daemonSFTP' => 'numeric|between:1,65535', + 'daemonListen' => 'numeric|between:1,65535', 'maintenance_mode' => 'boolean', 'upload_size' => 'int|between:1,1024', ];