From 6bc502434737d7f08379e79b94fc6fda424ef779 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 9 Apr 2024 16:47:16 +0200 Subject: [PATCH] Squashed 'cgilite/' changes from 9c46b3c..397847d 397847d offer invitation links if email is not required git-subtree-dir: cgilite git-subtree-split: 397847dd01a44b7a5a26b6c6d16a61a42079a542 --- users.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.39.2