Skip to content
Snippets Groups Projects
Verified Commit c1d6409e authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix integration of Twilio by using correct settings

(cherry picked from commit 941e51cc)
parent 7a83d36f
No related branches found
No related tags found
1 merge request!1179Resolve "Twilio integration is broken due to the usage of wrong settings"
Pipeline #113136 failed
......@@ -61,6 +61,7 @@ Fixed
* Invitations for existing short name did not work.
* Invitations for persons without pre-defined e-mail address did not behave correctly
* OIDC scope "phone" had no claims.
* 2FA via messages or phone calls didn't work.
Removed
~~~~~~~
......
......@@ -750,8 +750,8 @@ if _settings.get("2fa.sms.enabled", False):
TWO_FACTOR_SMS_GATEWAY = "two_factor.gateways.twilio.gateway.Twilio"
if _settings.get("twilio.sid", None):
TWILIO_SID = _settings.get("twilio.sid")
TWILIO_TOKEN = _settings.get("twilio.token")
TWILIO_ACCOUNT_SID = _settings.get("twilio.sid")
TWILIO_AUTH_TOKEN = _settings.get("twilio.token")
TWILIO_CALLER_ID = _settings.get("twilio.callerid")
CELERY_BROKER_URL = _settings.get("celery.broker", REDIS_URL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment