From: Matthew Wild Date: Fri, 27 May 2011 23:23:05 +0000 (+0100) Subject: mod_register: Change the default for 'allow_registration' from true to false, most... X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=13457ac721c7bc6958de9a016628b8ae68316e78;hp=1db82938c2439565360e9d344fdfd5b0daafc708;p=prosody.git mod_register: Change the default for 'allow_registration' from true to false, most users shouldn't be affected as allow_registration is already explicitly set in the default config file. --- diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua index 50d29da8..8a818d02 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -19,7 +19,7 @@ local nodeprep = require "util.encodings".stringprep.nodeprep; local jid_bare = require "util.jid".bare; local compat = module:get_option_boolean("registration_compat", true); -local allow_registration = module:get_option_boolean("allow_registration", true); +local allow_registration = module:get_option_boolean("allow_registration", false); module:add_feature("jabber:iq:register");