[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taldir] branch master updated: fix validator scripts
From: |
gnunet |
Subject: |
[taldir] branch master updated: fix validator scripts |
Date: |
Sat, 25 Jan 2025 14:46:52 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository taldir.
The following commit(s) were added to refs/heads/master by this push:
new 29cea1d fix validator scripts
29cea1d is described below
commit 29cea1d6a9be1387ef5f2f0f221aa1706b316f66
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sat Jan 25 14:46:48 2025 +0100
fix validator scripts
---
scripts/validators/taldir-validate-mail | 4 ++--
scripts/validators/taldir-validate-phone | 11 ++---------
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/scripts/validators/taldir-validate-mail
b/scripts/validators/taldir-validate-mail
index 5bcb7ff..788f1bf 100755
--- a/scripts/validators/taldir-validate-mail
+++ b/scripts/validators/taldir-validate-mail
@@ -4,5 +4,5 @@ USER_MAIL=$1
CODE=$2
LINK=$(taldir-cli -l -a $1 -c $2)
TOPIC=$3
-MESSAGE=$(echo -e $4) # Interpret backslash (newline etc)
-$MESSAGE | mail -s "Taldir Registration Confirmation" $USER_MAIL
+MESSAGE=$4 # Interpret backslash (newline etc)
+echo -e $MESSAGE | mail -s "Taldir Registration Confirmation" $USER_MAIL
diff --git a/scripts/validators/taldir-validate-phone
b/scripts/validators/taldir-validate-phone
index 44151d1..6a75823 100755
--- a/scripts/validators/taldir-validate-phone
+++ b/scripts/validators/taldir-validate-phone
@@ -13,16 +13,9 @@ USER_MAIL=$1
CODE=$2
LINK=$(taldir-cli -l -a $1 -c $2)
-MESSAGE="
-Hi,
+TOPIC=$3
-welcome to TalDir. You are almost there.
-Your registration code is $CODE.
-Follow this link to complete your Taldir registration: $LINK
-
-Best,
-TalDir
-"
+MESSAGE=$4
TMPFILE=$(mktemp /tmp/sms-loggingXXXXXX)
STATUS=$(curl --request POST \
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taldir] branch master updated: fix validator scripts,
gnunet <=