commit a064917e30a79bf61326daff33143e45894159c4
parent 531970a11920c5f21ecccf18fa606656cff675c7
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 22 Oct 2025 13:02:01 +0200
add TELESIGN_ prefix for auth token
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/regional-currency/config.py b/regional-currency/config.py
@@ -542,7 +542,7 @@ if ask_yes_no(
if not try_cmd(
["libeufin-tan-sms.sh", phone_number],
f"T-12345 is your verification code for {bank_name} setup",
- {**os.environ, "AUTH_TOKEN": auth_token},
+ {**os.environ, "TELESIGN_AUTH_TOKEN": auth_token},
):
print(
"Failed to send an SMS using Telesign API, check your credentials and phone number"
diff --git a/regional-currency/setup-libeufin.sh b/regional-currency/setup-libeufin.sh
@@ -63,7 +63,7 @@ fi
if test -n "${TELESIGN_AUTH_TOKEN:-}"; then
cat >>/etc/libeufin/libeufin-bank.conf <<EOF
TAN_SMS=libeufin-tan-sms.sh
-TAN_SMS_ENV={"AUTH_TOKEN":"$TELESIGN_AUTH_TOKEN"}
+TAN_SMS_ENV={"TELESIGN_AUTH_TOKEN":"$TELESIGN_AUTH_TOKEN"}
EOF
fi