mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Improved option naming & validation for smseagle (#10141)
* Relax validation for smseagle hostname * Update property description and documentation
This commit is contained in:
committed by
PipoCanaja
parent
d44dd55239
commit
2df2956817
@@ -64,9 +64,9 @@ class Smseagle extends Transport
|
||||
return [
|
||||
'config' => [
|
||||
[
|
||||
'title' => 'SMSEagle URL',
|
||||
'title' => 'SMSEagle Host',
|
||||
'name' => 'smseagle-url',
|
||||
'descr' => 'SMSEagle URL',
|
||||
'descr' => 'SMSEagle Host',
|
||||
'type' => 'text',
|
||||
],
|
||||
[
|
||||
@@ -89,7 +89,7 @@ class Smseagle extends Transport
|
||||
],
|
||||
],
|
||||
'validation' => [
|
||||
'smseagle-url' => 'required|url',
|
||||
'smseagle-url' => 'required|string',
|
||||
'smseagle-user' => 'required|string',
|
||||
'smseagle-pass' => 'required|string',
|
||||
'smseagle-mobiles' => 'required',
|
||||
|
Reference in New Issue
Block a user