Disable registrations by default

See #22.
This commit is contained in:
decentral1se 2022-03-13 16:55:48 +01:00
parent c71f3bc519
commit 919e9253ae
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
4 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,8 @@ COMPOSE_FILE="compose.yml"
#DISABLE_FEDERATION=1
ENABLE_REGISTRATION=false
#AUTO_JOIN_ROOM_ENABLED=1
#AUTO_JOIN_ROOM="#example:example.com"

View File

@ -1,3 +1,3 @@
export ENTRYPOINT_CONF_VERSION=v1
export HOMESERVER_YAML_VERSION=v4
export HOMESERVER_YAML_VERSION=v5
export LOG_CONFIG_VERSION=v2

View File

@ -18,6 +18,7 @@ services:
- DOMAIN
- ENABLE_3PID_LOOKUP
- ENABLE_ALLOWLIST
- ENABLE_REGISTRATION
- FEDERATION_ALLOWLIST
- LETSENCRYPT_HOST=${DOMAIN}
- REDACTION_RETENTION_PERIOD

View File

@ -1169,7 +1169,7 @@ turn_allow_guests: {{ env "TURN_ALLOW_GUESTS" }}
# Enable registration for new users.
#
#enable_registration: false
enable_registration: {{ env "ENABLE_REGISTRATION" }}
# Time that a user's session remains valid for, after they log in.
#