From 5d5fc0f5791de8dfd7641eedfd3fa83ae840d20a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 21 Sep 2021 22:25:50 +0200 Subject: [PATCH] fix in email syntax and confirm path --- users.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users.sh b/users.sh index b5ebcef..33f0062 100755 --- a/users.sh +++ b/users.sh @@ -105,14 +105,14 @@ user_register(){ RELEASE "$user_db" sendmail -t -f "$MAILFROM" <<-EOF From: ${MAILFROM} - To: "${email}" + To: ${email} Subject: Your account registration at ${HTTP_HOST%:*} Someone tried to sign up for a user account using this email address. You can activate your account using this link: - https://${HTTP_HOST%:*}/${_BASE}/?user_confirm=${uid}+$(session_mac "$uid") + https://${HTTP_HOST%:*}/${_BASE}${PATH_INFO}?user_confirm=${uid}+$(session_mac "$uid") This registration link will expire after 24 hours. -- 2.39.2