Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-02-03 11:47:55 +0300
committerGitHub <noreply@github.com>2020-02-03 11:47:55 +0300
commit7be6c657b042115a68d3c330f77e1b20588ef547 (patch)
treeecc267f1a349dfb7fa1da3024f40769fe32a76c4
parentce1c6b9237bf77cc21da0806240175d5b1507bf4 (diff)
parentb390e7216695bb8f000ef1e63f69751b5600234f (diff)
Merge pull request #322 from sms77io/master
sms77io: added sender identifer for improved statistics on our side
-rw-r--r--lib/Service/Gateway/SMS/Provider/Sms77Io.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/Gateway/SMS/Provider/Sms77Io.php b/lib/Service/Gateway/SMS/Provider/Sms77Io.php
index 08d985f..5a5cbfc 100644
--- a/lib/Service/Gateway/SMS/Provider/Sms77Io.php
+++ b/lib/Service/Gateway/SMS/Provider/Sms77Io.php
@@ -39,7 +39,7 @@ class Sms77Io implements IProvider {
private $config;
public function __construct(IClientService $clientService,
- Sms77IoConfig $config) {
+ Sms77IoConfig $config) {
$this->client = $clientService->newClient();
$this->config = $config;
}
@@ -59,6 +59,7 @@ class Sms77Io implements IProvider {
'p' => $apiKey,
'to' => $identifier,
'text' => $message,
+ 'sendWith' => 'nextcloud'
],
]);
} catch (Exception $ex) {
@@ -72,4 +73,4 @@ class Sms77Io implements IProvider {
public function getConfig(): IProviderConfig {
return $this->config;
}
-}
+} \ No newline at end of file