Improved option naming & validation for smseagle (#10141)

* Relax validation for smseagle hostname
* Update property description and documentation
This commit is contained in:
Mihai Petracovici
2019-04-27 02:08:16 -05:00
committed by PipoCanaja
parent d44dd55239
commit 2df2956817
2 changed files with 4 additions and 4 deletions

View File

@@ -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',

View File

@@ -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 |