mod_register: Change the default for 'allow_registration' from true to false, most...
authorMatthew Wild <mwild1@gmail.com>
Fri, 27 May 2011 23:23:05 +0000 (00:23 +0100)
committerMatthew Wild <mwild1@gmail.com>
Fri, 27 May 2011 23:23:05 +0000 (00:23 +0100)
plugins/mod_register.lua

index 50d29da89749d5af6e3200928a99188f89361e27..8a818d027ca0f71c7a2f95770a22af5f8f530d2d 100644 (file)
@@ -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");