diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index d6a51c27c50f2411a2b6fac022fbb73db2a9e82e..395ba8632ce34257e56bcfe8717121003733bad2 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -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
 ~~~~~~~
diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py
index c8c81525bc32b3ff91c3301328c7002b04fc12ed..0cd27e97ac422b7da054fe4beddca57a239a4ff8 100644
--- a/aleksis/core/settings.py
+++ b/aleksis/core/settings.py
@@ -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)