config to hide local login

Closes #25.
This commit is contained in:
decentral1se 2022-03-14 17:19:56 +01:00
parent 919e9253ae
commit 1b32621af9
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
4 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,7 @@ COMPOSE_FILE="compose.yml"
#DISABLE_FEDERATION=1
ENABLE_REGISTRATION=false
PASSWORD_LOGIN_ENABLED=true
#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=v5
export HOMESERVER_YAML_VERSION=v6
export LOG_CONFIG_VERSION=v2

View File

@ -21,6 +21,7 @@ services:
- ENABLE_REGISTRATION
- FEDERATION_ALLOWLIST
- LETSENCRYPT_HOST=${DOMAIN}
- PASSWORD_LOGIN_ENABLED
- REDACTION_RETENTION_PERIOD
- ROOT_LOG_LEVEL
- SQL_LOG_LEVEL

View File

@ -2048,7 +2048,7 @@ sso:
password_config:
# Uncomment to disable password login
#
#enabled: false
enabled: {{ env "PASSWORD_LOGIN_ENABLED" }}
# Uncomment to disable authentication against the local password
# database. This is ignored if `enabled` is false, and is only useful