diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-05-28 00:23:05 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-05-28 00:23:05 +0100 |
commit | 50cc9d9e0a1d7e35fb7dd7ccf4e6814ee0ac64e0 (patch) | |
tree | 69ca97837bb08645e6fe8694838030f392b14299 /plugins | |
parent | 87fabe0fe7c65949f55b0b310fc80fd811029335 (diff) | |
download | prosody-50cc9d9e0a1d7e35fb7dd7ccf4e6814ee0ac64e0.tar.gz prosody-50cc9d9e0a1d7e35fb7dd7ccf4e6814ee0ac64e0.zip |
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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_register.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |