aboutsummaryrefslogtreecommitdiffstats
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
commitc33762ac638453c18a9a0cfbe1460b7dc7c14c90 (patch)
tree69ca97837bb08645e6fe8694838030f392b14299
parent0a08e5f64f9e4e0bd3f27a96d22aeea37bfb1cba (diff)
downloadprosody-c33762ac638453c18a9a0cfbe1460b7dc7c14c90.tar.gz
prosody-c33762ac638453c18a9a0cfbe1460b7dc7c14c90.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.
-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");