[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: nicer SMS body
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: nicer SMS body |
Date: |
Sun, 21 Apr 2024 14:17:33 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 7dbedcc nicer SMS body
7dbedcc is described below
commit 7dbedccf6a8d66cd2ed184ffe7617e59b0eb0040
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Apr 21 14:17:30 2024 +0200
nicer SMS body
---
src/authorization/anastasis-authorization-sms.sh | 2 --
src/authorization/anastasis_authorization_plugin_sms.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/authorization/anastasis-authorization-sms.sh
b/src/authorization/anastasis-authorization-sms.sh
index 1e38661..c3b1055 100755
--- a/src/authorization/anastasis-authorization-sms.sh
+++ b/src/authorization/anastasis-authorization-sms.sh
@@ -20,8 +20,6 @@ STATUS=$(curl --request POST \
--data message_type=OTP \
--data "phone_number=$1" \
-w "%{http_code}" -s -o $TMPFILE)
-echo `cat $TMPFILE` >> /var/log/sms.log
-rm -f $TMPFILE
case $STATUS in
200|203|250|290|291|295)
exit 0;
diff --git a/src/authorization/anastasis_authorization_plugin_sms.c
b/src/authorization/anastasis_authorization_plugin_sms.c
index 51457b6..695e5d8 100644
--- a/src/authorization/anastasis_authorization_plugin_sms.c
+++ b/src/authorization/anastasis_authorization_plugin_sms.c
@@ -375,7 +375,7 @@ sms_challenge (struct ANASTASIS_AUTHORIZATION_State *as,
GNUNET_assert (NULL != pipe_stdin);
GNUNET_DISK_pipe_close (p);
GNUNET_asprintf (&as->msg,
- "%s\nAnastasis\n: %s",
+ "%s\nAnastasis:\n%s",
ANASTASIS_pin2s (as->code),
ANASTASIS_CRYPTO_uuid2s (&as->truth_uuid));
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: nicer SMS body,
gnunet <=