aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_register.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-05-28 00:23:05 +0100
committerMatthew Wild <mwild1@gmail.com>2011-05-28 00:23:05 +0100
commit50cc9d9e0a1d7e35fb7dd7ccf4e6814ee0ac64e0 (patch)
tree69ca97837bb08645e6fe8694838030f392b14299 /plugins/mod_register.lua
parent87fabe0fe7c65949f55b0b310fc80fd811029335 (diff)
downloadprosody-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/mod_register.lua')
-rw-r--r--plugins/mod_register.lua2
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");