aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-02-10 15:49:01 +0000
committerMatthew Wild <mwild1@gmail.com>2022-02-10 15:49:01 +0000
commita02e872f8651ea4729697bd7ccc88f7f952c3f04 (patch)
treedd6a7c0f4b5509c9aada415df1cf040bf4517d72
parenta53ffcca735a64ed727e38d9f440a75b08b0ab9b (diff)
downloadprosody-a02e872f8651ea4729697bd7ccc88f7f952c3f04.tar.gz
prosody-a02e872f8651ea4729697bd7ccc88f7f952c3f04.zip
mod_invites_register: Default to require encryption
In line with the Prosody-wide default change for 0.12.
-rw-r--r--plugins/mod_invites_register.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_invites_register.lua b/plugins/mod_invites_register.lua
index e02b5bc0..9a5570ab 100644
--- a/plugins/mod_invites_register.lua
+++ b/plugins/mod_invites_register.lua
@@ -4,7 +4,7 @@ local jid_bare = require "util.jid".bare;
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;