Diff

plugins/mod_invites_register.lua @ 12329:c980210ca095

mod_invites_register: Default to require encryption In line with the Prosody-wide default change for 0.12.
author Matthew Wild <mwild1@gmail.com>
date Thu, 10 Feb 2022 15:49:01 +0000
parent 12285:ed23bbf3b946
child 12391:a15647d42880
line wrap: on
line diff
--- a/plugins/mod_invites_register.lua	Thu Feb 10 15:48:34 2022 +0000
+++ b/plugins/mod_invites_register.lua	Thu Feb 10 15:49:01 2022 +0000
@@ -4,7 +4,7 @@
 local rostermanager = require "core.rostermanager";
 
 local require_encryption = module:get_option_boolean("c2s_require_encryption",
-	module:get_option_boolean("require_encryption", false));
+	module:get_option_boolean("require_encryption", true));
 local invite_only = module:get_option_boolean("registration_invite_only", true);
 
 local invites;