1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

disable-password-if-private

This commit is contained in:
Gredin67 2022-10-14 00:15:25 +02:00 committed by GitHub
parent 48dcabbb66
commit eb90dbfa5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -2167,7 +2167,7 @@ __DOMAIN_WHITELIST_CLIENT__
password_config:
# Uncomment to disable password login
#
#enabled: false
enabled: __PASSWORD_CONFIG_ENABLED__
# Uncomment to disable authentication against the local password
# database. This is ignored if `enabled` is false, and is only useful

View file

@ -272,9 +272,11 @@ if [ $is_free_registration -eq 0 ]
then
allowed_access=False
sso_enabled=True
password_config_enabled=False
else
allowed_access=True
sso_enabled=False
password_config_enabled=True
fi
ynh_add_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"