Allow regular users to be created as well (not only admins)

This commit is contained in:
Slavi Pantaleev
2017-08-01 11:11:29 +03:00
parent 87f5883f24
commit 81077e6cdf
3 changed files with 18 additions and 7 deletions

View File

@ -146,11 +146,11 @@ Run this to create a new user account on your Matrix server.
You can do it via this Ansible playbook (make sure to edit the `<your-username>` and `<your-password>` part below):
ansible-playbook -i inventory/hosts setup.yml --extra-vars='username=<your-username> password=<your-password>' --tags=register-user
ansible-playbook -i inventory/hosts setup.yml --extra-vars='username=<your-username> password=<your-password> admin=<yes|no>' --tags=register-user
**or** using the command-line after **SSH**-ing to your server (requires that [all services have been started](#Starting-the-services)):
matrix-synapse-register-user <your-username> <your-password>
matrix-synapse-register-user <your-username> <your-password> <admin access: 0 or 1>
**Note**: `<your-username>` is just a plain username (like `john`), not your full `@<username>:<your-domain>` identifier.