fix: allow non ip address (DNS)
This commit is contained in:
parent
cc1bf023be
commit
a386a1bde5
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class ByIp extends Component
|
||||||
protected $rules = [
|
protected $rules = [
|
||||||
'name' => 'required|string',
|
'name' => 'required|string',
|
||||||
'description' => 'nullable|string',
|
'description' => 'nullable|string',
|
||||||
'ip' => 'required|ip',
|
'ip' => 'required',
|
||||||
'user' => 'required|string',
|
'user' => 'required|string',
|
||||||
'port' => 'required|integer',
|
'port' => 'required|integer',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue