From 1a0f09543bc3bf2141967c9098cfeee6f619124e Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 7 Nov 2018 15:26:30 -0700 Subject: [PATCH] Tell synapse to require consent at registration To fix issues where the tests can't correctly test terms auth. --- synapse/config-templates/consent/homeserver.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/config-templates/consent/homeserver.yaml b/synapse/config-templates/consent/homeserver.yaml index 9fa16ebe5f..4f3837a878 100644 --- a/synapse/config-templates/consent/homeserver.yaml +++ b/synapse/config-templates/consent/homeserver.yaml @@ -674,6 +674,7 @@ user_consent: block_events_error: >- To continue using this homeserver you must review and agree to the terms and conditions at %(consent_uri)s + require_at_registration: true