X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=users.sh;h=33f0062d7832d510b8db9d25d2cb1fdcd9b20bec;hp=b5ebcefaefc912b59a37f374f7bacb10f6481ffb;hb=5d5fc0f5791de8dfd7641eedfd3fa83ae840d20a;hpb=d468e35cac86aec92abc019c8fed48198bc6e446 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.