Send text message that are to an international number from a number rather than "Notify"

Update `send_user_2fa_code` to send from number when recipient is international
Update `update_user_attribute` to send from number when recipient is international
This commit is contained in:
Rebecca Law
2021-02-17 09:52:04 +00:00
parent 75f8db19eb
commit e77534fb17
5 changed files with 90 additions and 3 deletions

View File

@@ -179,6 +179,7 @@ class Config(object):
MOU_SIGNED_ON_BEHALF_SIGNER_RECEIPT_TEMPLATE_ID = 'c20206d5-bf03-4002-9a90-37d5032d9e84'
MOU_SIGNED_ON_BEHALF_ON_BEHALF_RECEIPT_TEMPLATE_ID = '522b6657-5ca5-4368-a294-6b527703bd0b'
MOU_NOTIFY_TEAM_ALERT_TEMPLATE_ID = 'd0e66c4c-0c50-43f0-94f5-f85b613202d4'
NOTIFY_NUMBER_SMS_SENDER = '07984404008'
BROKER_URL = 'sqs://'
BROKER_TRANSPORT_OPTIONS = {