Skip to content

Commit f2da30d

Browse files
committed
missing then
1 parent 55b9f72 commit f2da30d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

create-user

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ OUTPUT=`curl -s -X PUT "$DISCOURSE_URL/admin/users/$USER_ID/activate.json?api_ke
7272
echo -n " . "
7373
# add to group
7474
if [ ! -z "$GROUP" ]
75+
then
7576
echo -n "Adding to group $GROUP. . . "
7677
OUTPUT=`curl -s -X PUT "$DISCOURSE_URL/groups/$GROUP/members.json?api_key=$DISCOURSE_API_KEY&api_username=$DISCOURSE_API_USER&usernames=$USERNAME"`
7778
echo $OUTPUT

0 commit comments

Comments
 (0)