diff --git a/create-user.sh b/create-user.sh index 03dc25c..b7e4a57 100755 --- a/create-user.sh +++ b/create-user.sh @@ -20,18 +20,14 @@ while true; do done echo "Creating user: $USERNAME" -OUTPUT=$(docker compose exec -T monolith /usr/bin/create-account \ +docker compose exec monolith /usr/bin/create-account \ -config /etc/dendrite/dendrite.yaml \ -username "$USERNAME" \ - $ADMIN_FLAG) + $ADMIN_FLAG # Check if the command was successful if [ $? -eq 0 ]; then echo "User \"$USERNAME\" created successfully!" - echo - echo "Access Token (save this for double puppeting):" - echo "$OUTPUT" | grep -o "Access token: .*" | cut -d' ' -f3- - echo echo "Make sure to save this access token! You'll need it to enable double puppeting in the bridges." else echo "Error: Failed to create user"