From: Paul Hänsch Date: Tue, 21 Sep 2021 20:25:50 +0000 (+0200) Subject: fix in email syntax and confirm path X-Git-Url: https://git.plutz.net/?p=cgilite;a=commitdiff_plain;h=5d5fc0f5791de8dfd7641eedfd3fa83ae840d20a fix in email syntax and confirm path --- 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.