From: Paul Hänsch Date: Tue, 27 Feb 2024 21:50:35 +0000 (+0100) Subject: Squashed 'cgilite/' changes from 0591b08..426dac5 X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b734e614d35220ae7032adae41908ceb7e948af7;p=shellwiki Squashed 'cgilite/' changes from 0591b08..426dac5 426dac5 fix auto detection of sender address git-subtree-dir: cgilite git-subtree-split: 426dac52b5648fea4854fb141452d113b5c2251a --- diff --git a/users.sh b/users.sh index be68a8a..c924789 100755 --- a/users.sh +++ b/users.sh @@ -29,9 +29,8 @@ USER_ACCOUNTPAGE="${USER_ACCOUNTPAGE}" USER_ACCOUNTEXPIRE="${USER_ACCOUNTEXPIRE:-$((86400 * 730))}" USER_CONFIRMEXPIRE="${USER_CONFIRMEXPIRE:-86400}" -MAILFROM="${MAILDOMAIN-noreply@${HTTP_HOST%:*}}" - HTTP_HOST="$(HEADER Host)" +MAILFROM="noreply@${HTTP_HOST%:*}" [ "$HTTPS" ] && SCHEMA=https || SCHEMA=http