corrected hardcoded matrix domain and added code to remove old matrix-make-user-admin script per suggestion.

This commit is contained in:
prasket
2020-01-21 18:29:17 -08:00
parent 80dd5f0b46
commit 83e7a8d9e6
2 changed files with 7 additions and 1 deletions

View File

@ -16,4 +16,4 @@ docker run \
--env-file=/matrix/postgres/env-postgres-psql \
--network matrix \
postgres:12.1-alpine \
psql -h matrix-postgres -c "UPDATE users set admin=$2 WHERE name like '@$1:seattlematrix.org'"
psql -h matrix-postgres -c "UPDATE users set admin=$2 WHERE name like '@$1:{{ matrix_domain }}'"