improvement: registration token now only works when registration is enabled

This commit is contained in:
Timo Kösters 2024-01-24 18:44:00 +01:00
parent 34e0e710cb
commit 1fb5bcf98f
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
5 changed files with 45 additions and 21 deletions

View file

@ -28,6 +28,7 @@ services:
CONDUIT_PORT: 6167
CONDUIT_MAX_REQUEST_SIZE: 20_000_000 # in bytes, ~20 MB
CONDUIT_ALLOW_REGISTRATION: 'true'
#CONDUIT_REGISTRATION_TOKEN: '' # require password for registration
CONDUIT_ALLOW_FEDERATION: 'true'
CONDUIT_ALLOW_CHECK_FOR_UPDATES: 'true'
CONDUIT_TRUSTED_SERVERS: '["matrix.org"]'