Update create_user
This commit is contained in:
parent
5866e65cc3
commit
1fc6a10439
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ do
|
|||
id="@"$D
|
||||
data='{"password":"'${pw}'", "displayname": "'${name}'", "threepids": [ { "medium": "email", "address": "'${ad}'" }], "admin": false, "deactivated": false, "avatar_url": null }'
|
||||
h='Authorization: Bearer <AccessToken>'
|
||||
curl -v -X PUT -H "$h" -d "$data" http://localhost:8008/_synapse/admin/v2/users/$id:politikergespraeche.germanzero.org
|
||||
curl -v -X PUT -H "$h" -d "$data" http://localhost:8008/_synapse/admin/v2/users/$id:<matrix domain>
|
||||
sleep 2
|
||||
done < info.txt
|
Loading…
Reference in a new issue