]> git.plutz.net Git - cgilite/blobdiff - users.sh
fix in email syntax and confirm path
[cgilite] / users.sh
index b5ebcefaefc912b59a37f374f7bacb10f6481ffb..33f0062d7832d510b8db9d25d2cb1fdcd9b20bec 100755 (executable)
--- 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.