Re: [privacyidea/privacyidea] 2236/script sms provider (#2261)

Domain: IP info
MX-server: IP info
Size: 2526 Bytes
Create: 2020-06-18
Update: 2020-06-18
Score: 0
Safe: Yes

Outbound domains: |

@github-actions[bot] commented on this pull request.

In privacyidea/lib/smsprovider/

> +    def submit_message(self, phone, message):
+        """
+        send a message to a phone via an smpp protocol to smsc
+        :param phone: the phone number
+        :param message: the message to submit to the phone
+        :return:
+        """
+        log.debug("submitting message {0!s} to {1!s}".format(message, phone))
+        if not self.smsgateway:
+            # this should not happen. We now always use sms gateway definitions.
+            log.warning("Missing smsgateway definition!")
+            raise SMSError(-1, "Missing smsgateway definition!")
+        script = self.smsgateway.option_dict.get("script")
+        background = self.smsgateway.option_dict.get("backgroud")

[codespell] reported by reviewdog 🐶
backgroud ==> background

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.