mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	We also need to fix `--tags=register-user`. This tag is currently defined in both the `matrix-synapse` and `matrix-dendrite` roles.
		
			
				
	
	
		
			13 lines
		
	
	
		
			252 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			252 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
#jinja2: lstrip_blocks: "True"
 | 
						|
#!/bin/bash
 | 
						|
 | 
						|
if [ $# -ne 2 ]; then
 | 
						|
	echo "Usage: "$0" <username> <password>"
 | 
						|
	exit 1
 | 
						|
fi
 | 
						|
 | 
						|
user=$1
 | 
						|
password=$2
 | 
						|
 | 
						|
docker exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password"
 |