From 5af7f2183fd4503729014139acd60a851d41e25c Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Mon, 1 Nov 2021 13:23:54 +0100 Subject: [PATCH] scripts: fix the syntax for adding a user to a team --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index be1b366..47c8fcb 100644 --- a/scripts/install +++ b/scripts/install @@ -192,7 +192,7 @@ pushd "$final_path" ynh_exec_warn_less sudo --preserve-env -u $app bin/mmctl user create --username "$admin" --email "$email" --password "$password" --locale "$language" --email-verified --system-admin ynh_exec_warn_less sudo --preserve-env -u $app bin/mmctl team create --name "$team_name" --display_name "$team_display_name" --email "$email" - ynh_exec_warn_less sudo --preserve-env -u $app bin/mmctl team add "$team_name" "$admin" + ynh_exec_warn_less sudo --preserve-env -u $app bin/mmctl team users add "$team_name" "$admin" popd # Now that the first user is created, disable mmctl passwordless access