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',
|
||||
|
@@ -415,7 +415,7 @@ Destination numbers are one per line, with no spaces. They can be in either loca
|
||||
|
||||
| Config | Example |
|
||||
| ------ | ------- |
|
||||
| SMSEagle URL | ip.add.re.ss |
|
||||
| SMSEagle Host | ip.add.re.ss |
|
||||
| User | smseagle_user |
|
||||
| Password | smseagle_user_password |
|
||||
| Mobiles | +3534567890 |
|
||||
|
Reference in New Issue
Block a user