Diff

plugins/mod_s2s.lua @ 12362:0fd58f54d653

Merge config-updates+check-turn from timber
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Mar 2022 16:33:41 +0000
parent 12311:bc30e1b9ad89
parent 12330:38b5b05407be
child 12462:11765f0605ec
child 12474:8fac32810144
line wrap: on
line diff
--- a/plugins/mod_s2s.lua	Wed Mar 02 16:12:28 2022 +0000
+++ b/plugins/mod_s2s.lua	Fri Mar 04 16:33:41 2022 +0000
@@ -40,7 +40,7 @@
 local secure_auth = module:get_option_boolean("s2s_secure_auth", false); -- One day...
 local secure_domains, insecure_domains =
 	module:get_option_set("s2s_secure_domains", {})._items, module:get_option_set("s2s_insecure_domains", {})._items;
-local require_encryption = module:get_option_boolean("s2s_require_encryption", false);
+local require_encryption = module:get_option_boolean("s2s_require_encryption", true);
 local stanza_size_limit = module:get_option_number("s2s_stanza_size_limit", 1024*512);
 
 local measure_connections_inbound = module:metric(