mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
[fix] Force enable password authentication on matrixv2
This commit is contained in:
parent
ecb452f87d
commit
5cda6287a6
4 changed files with 14 additions and 0 deletions
|
@ -28,6 +28,10 @@ configure_nginx
|
|||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Updating Synapse config..." --weight=2
|
||||
|
||||
# Force enable it because some client like Element X don't support CAS and so require to have password authentication enabled
|
||||
password_enabled=true
|
||||
|
||||
ynh_add_jinja_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"
|
||||
ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml"
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@ ynh_app_config_validate() {
|
|||
ynh_app_config_apply() {
|
||||
_ynh_app_config_apply
|
||||
configure_nginx
|
||||
|
||||
# Force enable it because some client like Element X don't support CAS and so require to have password authentication enabled
|
||||
password_enabled=true
|
||||
|
||||
ynh_add_jinja_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"
|
||||
ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml"
|
||||
set_permissions
|
||||
|
|
|
@ -159,6 +159,9 @@ configure_nginx
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring Synapse..." --weight=2
|
||||
|
||||
# Force enable it because some client like Element X don't support CAS and so require to have password authentication enabled
|
||||
password_enabled=true
|
||||
|
||||
ynh_add_jinja_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"
|
||||
ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml"
|
||||
ynh_add_config --template=sliding_proxy.conf --destination=/etc/matrix-$app/sliding_proxy.conf
|
||||
|
|
|
@ -289,6 +289,9 @@ fi
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating synapse config..." --weight=2
|
||||
|
||||
# Force enable it because some client like Element X don't support CAS and so require to have password authentication enabled
|
||||
password_enabled=true
|
||||
|
||||
ynh_add_jinja_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"
|
||||
ynh_add_config --template="log.yaml" --destination="/etc/matrix-$app/log.yaml"
|
||||
ynh_add_config --template=sliding_proxy.conf --destination=/etc/matrix-$app/sliding_proxy.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue