Changeset

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
parents 12328:a80314101bc6
children 12330:38b5b05407be
files plugins/mod_invites_register.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;