X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=users.sh;fp=users.sh;h=32299ff1e3f97f26f7cb2c7d3860d56c1a3e83d2;hp=c924789c2e25a6fcb71b7b60eb9980373e9038ec;hb=397847dd01a44b7a5a26b6c6d16a61a42079a542;hpb=9c46b3c13b81e117b77bd58ce782645d1f137161 diff --git a/users.sh b/users.sh index c924789..32299ff 100755 --- a/users.sh +++ b/users.sh @@ -621,7 +621,7 @@ w_user_invite(){ if [ "$(GET user_confirm)" ]; then w_user_confirm - elif [ "$USER_ID" -a "$SENDMAIL" ]; then + elif [ "$USER_ID" -a "$USER_REQUIREEMAIL" = true ]; then w_user_invite_email elif [ "$USER_ID" ]; then uid="$(timeid)"