Update docs/registering-users.md: use common expressions for playbook configuration and installation

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2024-10-16 00:20:51 +09:00
parent 159daa7466
commit cfed646149
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -99,13 +99,13 @@ If you'd rather **keep your server private** (public registration closed, as is
## Enabling public user registration ## Enabling public user registration
To **open up user registration publicly** (usually **not recommended**), consider using the following configuration: To **open up user registration publicly** (usually **not recommended**), add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
```yaml ```yaml
matrix_synapse_enable_registration: true matrix_synapse_enable_registration: true
``` ```
and running the [installation](installing.md) procedure once again. After configuring the playbook, run the [installation](installing.md) command: `just install-all` or `just setup-all`
If you're opening up registrations publicly like this, you might also wish to [configure CAPTCHA protection](configuring-captcha.md). If you're opening up registrations publicly like this, you might also wish to [configure CAPTCHA protection](configuring-captcha.md).