Add regsitration token
This commit is contained in:
parent
0645a9f487
commit
8809f25ab1
@ -33,6 +33,9 @@ ALLOW_PUBLIC_ROOMS_FEDERATION=false
|
|||||||
ENABLE_REGISTRATION=false
|
ENABLE_REGISTRATION=false
|
||||||
PASSWORD_LOGIN_ENABLED=true
|
PASSWORD_LOGIN_ENABLED=true
|
||||||
|
|
||||||
|
# Token based registration. Enable ADMIN_INTERFACE_ENABLED=1 (below) to use the admin interface to generate tokens.
|
||||||
|
#REGISTRATION_REQUIRES_TOKEN=true
|
||||||
|
|
||||||
## Room auto-join
|
## Room auto-join
|
||||||
|
|
||||||
#AUTO_JOIN_ROOM_ENABLED=1
|
#AUTO_JOIN_ROOM_ENABLED=1
|
||||||
|
@ -53,6 +53,7 @@ services:
|
|||||||
- ENABLE_3PID_LOOKUP
|
- ENABLE_3PID_LOOKUP
|
||||||
- ENABLE_ALLOWLIST
|
- ENABLE_ALLOWLIST
|
||||||
- ENABLE_REGISTRATION
|
- ENABLE_REGISTRATION
|
||||||
|
- REGISTRATION_REQUIRES_TOKEN
|
||||||
- ENCRYPTED_BY_DEFAULT
|
- ENCRYPTED_BY_DEFAULT
|
||||||
- FEDERATION_ALLOWLIST
|
- FEDERATION_ALLOWLIST
|
||||||
- LETSENCRYPT_HOST=${DOMAIN}
|
- LETSENCRYPT_HOST=${DOMAIN}
|
||||||
|
@ -132,6 +132,8 @@ turn_allow_guests: {{ env "TURN_ALLOW_GUESTS" }}
|
|||||||
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_registration
|
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_registration
|
||||||
enable_registration: {{ env "ENABLE_REGISTRATION" }}
|
enable_registration: {{ env "ENABLE_REGISTRATION" }}
|
||||||
|
|
||||||
|
registration_requires_token: {{ env "REGISTRATION_REQUIRES_TOKEN" }}
|
||||||
|
|
||||||
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_3pid_lookup
|
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_3pid_lookup
|
||||||
enable_3pid_lookup: {{ env "ENABLE_3PID_LOOKUP" }}
|
enable_3pid_lookup: {{ env "ENABLE_3PID_LOOKUP" }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user