|
|
@@ -249,9 +249,6 @@ function add_user_matrix {
|
|
249
|
249
|
|
|
250
|
250
|
read_config_param 'MATRIX_SECRET'
|
|
251
|
251
|
matrix_nginx
|
|
252
|
|
- if [ -f /var/lib/matrix/.synapse/bin/activate ]; then
|
|
253
|
|
- source /var/lib/matrix/.synapse/bin/activate
|
|
254
|
|
- fi
|
|
255
|
252
|
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a
|
|
256
|
253
|
echo "0"
|
|
257
|
254
|
}
|