diff --git a/ansible/roles/synapse-extra-config/templates/cm-extraconfig.yml.j2 b/ansible/roles/synapse-extra-config/templates/cm-extraconfig.yml.j2 index 96b5c75..87c1615 100644 --- a/ansible/roles/synapse-extra-config/templates/cm-extraconfig.yml.j2 +++ b/ansible/roles/synapse-extra-config/templates/cm-extraconfig.yml.j2 @@ -6,6 +6,8 @@ metadata: namespace: default data: extraconfig.yaml: | + password_config: + enabled: {{ matrix.password_config }} {% if discovery_room_id is defined %} # Those rooms will be hidden from users exclude_rooms_from_sync: diff --git a/ansible/roles/synapse/templates/synapse-chart-config.j2 b/ansible/roles/synapse/templates/synapse-chart-config.j2 index eded1e3..7c15c2a 100644 --- a/ansible/roles/synapse/templates/synapse-chart-config.j2 +++ b/ansible/roles/synapse/templates/synapse-chart-config.j2 @@ -79,8 +79,6 @@ redis: extraConfig: allow_public_rooms_over_federation: true enable_registration_without_verification: false - password_config: - enabled: {{ matrix.password_config }} max_upload_size: {{ matrix.media_upload_max_size_mb }}M registrations_require_3pid: - email