mod_invites_register: Default to require encryption

In line with the Prosody-wide default change for 0.12.
This commit is contained in:
Matthew Wild 2022-02-10 15:49:01 +00:00
parent a53ffcca73
commit a02e872f86

View file

@ -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;